home *** CD-ROM | disk | FTP | other *** search
/ The Business Master (3rd Edition) / The Business Master (3rd Edition).iso / files / utilenus / tbox / tbox13.exe / TBOX.DOC < prev    next >
Encoding:
Text File  |  1992-07-02  |  120.8 KB  |  2,942 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.                                   ToolBOX
  12.  
  13.  
  14.  
  15.  
  16.                                    (TBOX)
  17.  
  18.  
  19.  
  20.  
  21.                                 USER MANUAL
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.                             *
  33.                           *   *
  34.                         *       *
  35.                       *           *               The
  36.                     *               *
  37.                   *                   *           Binary
  38.                  *                     *
  39.                  *                     *          Toolshed
  40.                  *                     *
  41.                  *                     *
  42.                  *  ******             *
  43.                  *        *            *
  44.                  *        *            *          Version 1.2
  45.                  *        *            *          July 2, 1992
  46.                  *        *            *
  47.                  *        *            *
  48.                   ********             *
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.                               TABLE OF CONTENTS
  61.  
  62.     1.0 INTRODUCTION......................................................1
  63.     1.1 General...........................................................1
  64.     1.2 About This Manual.................................................2
  65.     1.3 Documentation Conventions.........................................4
  66.     1.4 Words You Should Know.............................................4
  67.  
  68.     2.0 QUICK START PROCEDURE.............................................8
  69.  
  70.     3.0 INSTALLATION......................................................9
  71.     3.1 System Requirements...............................................9
  72.     3.2 Installation Configuration........................................9
  73.  
  74.     4.0 PROGRAM STARTUP..................................................10
  75.     4.1 Program Environment..............................................10
  76.     4.2 Startup Settings.................................................10
  77.  
  78.     5.0 OPERATIONAL OVERVIEW.............................................18
  79.     5.1 Introduction.....................................................18
  80.     5.2 The Basics.......................................................18
  81.     5.3 Directory/Select Modes...........................................20
  82.     5.4 Help Facility....................................................20
  83.     5.5 Popup Menu Window................................................20
  84.     5.6 Error Reporting..................................................21
  85.     5.7 Exit To DOS......................................................22
  86.  
  87.     6.0 DIRECTORY DISPLAY................................................23
  88.     6.1 Introduction.....................................................23
  89.     6.2 The DIR Command..................................................24
  90.     6.3 The CD Command...................................................26
  91.  
  92.     7.0 KEYBOARD COMMAND LINE PROCESSING.................................27
  93.     7.1 Introduction.....................................................27
  94.     7.2 Editing..........................................................27
  95.     7.3 Keyboard Command Stack...........................................27
  96.     7.4 DOS/ToolBOX Command Processing...................................28
  97.     7.5 Memory Utilization...............................................28
  98.     7.6 Command Line Variables...........................................29
  99.     7.7 External Command Access..........................................30
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.     8.0 COMMAND SEQUENCING...............................................31
  107.     8.1 Introduction.....................................................31
  108.     8.2 File Selection...................................................31
  109.     8.3 Soft Selection...................................................32
  110.     8.4 Basic Point-and-Shoot Operations.................................32
  111.     8.5 Command Sequencing...............................................32
  112.     8.6 Display Output...................................................33
  113.  
  114.     9.0 ADDITIONAL COMMANDS..............................................34
  115.     9.1 Window Control...................................................34
  116.     9.2 Directory Control................................................35
  117.     9.3 Window Contents..................................................36
  118.     9.4 DOS Commands.....................................................37
  119.     9.5 Quick Commands...................................................38
  120.     9.6 Inferred Batch File Selection....................................39
  121.     9.7 Explicit Program Requests........................................41
  122.  
  123.     10.0 INTRINSIC COMMANDS..............................................42
  124.     10.1 Typical Usage...................................................42
  125.     10.2 Intrinsic DIR command...........................................42
  126.     10.3 Intrinsic CD command............................................42
  127.     10.4 Intrinsic DEL Command...........................................42
  128.     10.5 Intrinsic KILLDIR Command.......................................43
  129.     10.6 Intrinsic SEL Command...........................................43
  130.  
  131.  
  132.     APPENDIX A : ToolBOX COMMAND LINE ARGUMENT SUMMARY...................44
  133.  
  134.     APPENDIX B : DIRECTORY DISPLAY PARAMETERS............................46
  135.  
  136.     APPENDIX C : COMMAND SUMMARY.........................................48
  137.  
  138.     APPENDIX D : INTRINSIC COMMAND SUMMARY...............................52
  139.  
  140.  
  141.  
  142. ToolBOX User Manual                                                   Page 1
  143. ____________________________________________________________________________
  144.  
  145.  
  146.  
  147. 1.0 INTRODUCTION
  148.  
  149. 1.1 General
  150.  
  151.     Computers are getting bigger, faster, and more complex.  It is essent-
  152.     ial to find a way to simplify the process of accessing and controlling
  153.     the myriad of data and programs on our systems.  The ToolBOX will help
  154.     in achieving that goal.
  155.  
  156.     In simple terms, ToolBOX presents a window showing a directory display
  157.     of the files in a chosen directory.  These files can be selected and
  158.     involved in copy, delete, or user defined operations - often with only
  159.     a single keystroke.  If the file selected is an application program or
  160.     one of its data files, such as a word processor document, just one
  161.     keystroke gets you up and running.  Equally applicable to the casual or
  162.     experienced user,  ToolBOX provides an alternate and extended interface
  163.     to the conventional DOS command line.  Your existing knowledge of DOS
  164.     commands is not wasted as DOS commands are handled directly through
  165.     ToolBOX.
  166.  
  167.     ToolBOX continues after other similar file management systems have
  168.     exhausted their capabilities.  With this highly configurable system you
  169.     can almost "write" your own version of ToolBOX.  A version that will
  170.     complement your personal or business needs.  Virtually everything can
  171.     be changed: the colors, the sound levels, the operations associated
  172.     with the keys or the key assignments themselves.  All of your favorite
  173.     and specialized utilities can be incorporated into ToolBOX through its
  174.     configuration capability.
  175.  
  176.     Features include:
  177.  
  178.           o an easily manipulated directory display, including control over
  179.             display format and sort technique.
  180.  
  181.           o point-and-shoot operations to invoke programs or change
  182.             directories.
  183.  
  184.           o direct execution of DOS command lines, including the ability to
  185.             reference files that have been selected within the directory
  186.             display.
  187.  
  188.           o memory requirement can be reduced to less than 2KB.
  189.  
  190.           o multiple windows provide simultaneous views of the directory
  191.             display and DOS command data.
  192.  
  193.           o keyboard command stack of most recent command lines.  Commands
  194.             can be recalled for editing or reuse.
  195.  
  196.           o stack of most recently entered directories.  A single keystroke
  197.             can be used to cycle through these directories.
  198.  
  199.           o designated batch files invoked, for files selected with
  200.             specific match strings.
  201.  
  202. ToolBOX User Manual                                                   Page 2
  203. ____________________________________________________________________________
  204.  
  205.  
  206.  
  207.           o configuration capability to change colors, change display
  208.             format rules, bind multiple command lines to a single
  209.             keystroke, and much more.
  210.  
  211.     There are many reasons for using ToolBOX.  Visibility is better than
  212.     with DOS, repetitious operations are simplified, and EGA and VGA are
  213.     fully exploited.  Perhaps it's just because the month is spelled out in
  214.     dates or that commas are placed in numeric displays.  Maybe it's that
  215.     elusive warmer feeling; not that we at the Toolshed are in any way
  216.     biased.  Whatever your reason for adopting ToolBOX, enjoy.
  217.  
  218.  
  219.  
  220.  
  221. 1.2 About This Manual
  222.  
  223.     This manual describes the operational activities associated with the
  224.     ToolBOX program.  ToolBOX is a highly configurable program.  The major
  225.     configuration capabilities are accomplished through the separate
  226.     TBOXCFG program as described in detail in the TBOXCFG User Manual.
  227.     Start with this operational manual to learn how to use ToolBOX with the
  228.     default settings.  Then move on to learn how to personalize your
  229.     version of ToolBOX.
  230.  
  231.          Section 1       Be sure to finish reading Section 1 to familiarize
  232.                          yourself with the terminology peculiar to this
  233.                          manual.
  234.  
  235.          Section 2       A "Quick Start" introduction provides the user
  236.                          with sufficient information to experiment and
  237.                          become familiar with ToolBOX before delving into
  238.                          the details of the manual.
  239.  
  240.          Section 3       This section describes the installation and system
  241.                          requirements.
  242.  
  243.          Section 4       This section describes the ToolBOX command line
  244.                          arguments needed to alter the program operation
  245.                          each time the program is started.
  246.  
  247.     The ToolBOX program has three separate types of functions: basic
  248.     unchangeable functions, functions that can be altered via
  249.     configurations, and lastly, intrinsic commands that can be entered via
  250.     the keyboard command line.
  251.  
  252.          Section 5       This section provides an overview of ToolBOX's
  253.                          operation.  The basic functions that are not
  254.                          configurable are explained.
  255.  
  256.          Section 6       This section describes the directory display's
  257.                          default settings and the methods for manipulating
  258.                          the presentation data.
  259.  
  260.  
  261. ToolBOX User Manual                                                   Page 3
  262. ____________________________________________________________________________
  263.  
  264.  
  265.          Section 7       This section explains the entry of keyboard
  266.                          command lines and related facilities.
  267.  
  268.          Section 8       This section describes the point-and-shoot
  269.                          operations which can be modified by the conf-
  270.                          iguration program.
  271.  
  272.          Section 9       This section describes additional keystroke
  273.                          commands available.
  274.  
  275.          Section 10      This section describes the lower level commands
  276.                          (intrinsics) that are entered as separate command
  277.                          lines.  Refer to the TBOXCFG User Manual for
  278.                          additional intrinsic commands that are available
  279.                          during the configuration process.
  280.  
  281.  
  282.  
  283.          Appendix A      Summarizes the command line arguments.
  284.  
  285.          Appendix B      Summarizes the factory default settings for the
  286.                          directory display format and sort techniques.
  287.  
  288.          Appendix C      Summarizes the single keystroke commands.
  289.  
  290.          Appendix D      Summarizes the intrinsic commands.
  291.  
  292.  
  293.     This manual assumes you already have a basic understanding of DOS.
  294.     That you are familiar with such concepts as batch files, the PATH
  295.     variable, DOS files and directory structure, and the syntax of DOS
  296.     commands.  If not, refer to your DOS User Manual.
  297.  
  298.     It is also assumed you are familiar, at least at the conceptual level,
  299.     with other programs from The Binary Toolshed.  In particular with
  300.     TBOXCFG, BTSPATCH, VIEW, and TREE which can be used in conjunction with
  301.     ToolBOX.  These programs are briefly described in the glossary
  302.     contained in Section 1.4, and in detail in the Utilities User Manual.
  303.  
  304.  
  305.  
  306.  
  307. ToolBOX User Manual                                                   Page 4
  308. ____________________________________________________________________________
  309.  
  310.  
  311. 1.3 Documentation Conventions
  312.  
  313.     Conventions employed in examples throughout this manual include:
  314.  
  315.           [ | | | ]      square brackets enclose optional items, of which
  316.                          one may be selected.
  317.  
  318.  
  319.           case           has no significance unless stated otherwise.
  320.  
  321.  
  322.           <KEY STROKE>   all keys to be struck simultaneously are enclosed
  323.                          in angle brackets.  For example
  324.  
  325.                               <ALT d>, <PG-DN> and <CTRL c>.
  326.  
  327.  
  328.                         the diamond is the prefix character used for
  329.                          variables within a command line.  It is created
  330.                          with the CTRL key.  For example f is created by
  331.                          <CTRL f>.
  332.  
  333.                          Note: If this manual has been filtered with the
  334.                          TOASCII utility, the diamond appears as an
  335.                          asterisk - *.
  336.  
  337.  
  338.           - and /        while the two are actually interchangeable, this
  339.                          manual uses "-" as the prefix for the initial
  340.                          ToolBOX command line arguments and "/" as the
  341.                          prefix for parameters for keyboard and intrinsic
  342.                          commands.
  343.  
  344.  
  345.  
  346. 1.4 Words You Should Know
  347.  
  348.      The following definitions are useful as you read this manual.  This
  349.      glossary is a subset of the one contained in the General Product
  350.      Overview Manual.
  351.  
  352.  
  353.           argument            an option field on the ToolBOX command line.
  354.                               Note, the convention used within this manual
  355.                               is that  "arguments" refer to the ToolBOX
  356.                               startup command line, while "parameters" (see
  357.                               below) refer to options on command lines
  358.                               within ToolBOX.
  359.  
  360.  
  361.           BTSPATCH.EXE        a separate Binary Toolshed (BTS) utility
  362.                               program that allows the user to set their own
  363.                               default startup command line within each of
  364.                               the supplied BTS programs, including ToolBOX.
  365.                               Refer to the Utilities User Manual for more
  366.  
  367. ToolBOX User Manual                                                   Page 5
  368. ____________________________________________________________________________
  369.  
  370.  
  371.                               information.
  372.  
  373.  
  374.           command line        a single processable line of text.  This may
  375.                               be a DOS command line or a ToolBOX intrinsic.
  376.  
  377.  
  378.           command set         a collection of ToolBOX command lines.  This
  379.                               grouping is created through the TBOXCFG
  380.                               program.
  381.  
  382.  
  383.           DOS                 Disk Operating System, the control program
  384.                               for IBM Personal Computers.  The term refers
  385.                               to both the Microsoft (MS DOS) and the IBM
  386.                               (PC DOS) versions.
  387.  
  388.                               Refer to your DOS users manual for further
  389.                               explanations of DOS commands such as PATH,
  390.                               COPY, FORMAT, RD, and RENAME, as well as
  391.                               descriptions of wildcard characters, batch
  392.                               files, directories, and so on.
  393.  
  394.  
  395.           environment variables
  396.                               also referred to as set variables, these are
  397.                               user defined DOS names that can be associated
  398.                               with any desired text string.  Programs can
  399.                               interrogate these strings and act
  400.                               accordingly.  Use the DOS SET command to
  401.                               modify these variables - such as BTS, or
  402.                               PATH.
  403.  
  404.  
  405.           factory defaults    the initialization settings contained within
  406.                               the distribution version of The Binary
  407.                               Toolshed products.  These default values can
  408.                               be overridden by the BTSPATCH or TBOXCFG
  409.                               programs.
  410.  
  411.  
  412.           intrinsics          command lines understood and processed
  413.                               directly by ToolBOX, i.e. they are not passed
  414.                               on to DOS.  These command lines consist of a
  415.                               command word (e.g. "sel" or "del") and
  416.                               optionally one or more parameters.
  417.  
  418.  
  419.           key binding         the association of a command set with a
  420.                               particular keyboard keystroke.
  421.  
  422.  
  423.           keyboard command    a command line (DOS or intrinsic) entered
  424.                               manually through the ToolBOX command line as
  425.                               shown at the bottom of the directory display.
  426.  
  427. ToolBOX User Manual                                                   Page 6
  428. ____________________________________________________________________________
  429.  
  430.  
  431.  
  432.  
  433.           keystroke           a single identifiable entry through the
  434.                               keyboard.  This may be one key or multiple
  435.                               keys.  For example <a> or <CTRL ALT F9>.
  436.  
  437.  
  438.           matchlist           a file selection specification list that can
  439.                               specify a drive, path, and one or more file
  440.                               specifications.  Each file specification can
  441.                               use the DOS wildcard characters and be
  442.                               preceded by "!" to  indicate matching files
  443.                               should be removed from the selected list
  444.                               rather than added.  For example:
  445.  
  446.                                   c:\dos\*.* !*.com !*.exe
  447.  
  448.  
  449.           parameter           separate option field(s) following the
  450.                               command word on a command line.  Refer above
  451.                               to "argument".
  452.  
  453.  
  454.           PATH                the DOS reserved environment variable which
  455.                               designates alternate directories to be
  456.                               searched for program files.
  457.  
  458.  
  459.           path                a DOS directory specification consisting of
  460.                               an optional leading drive indicator and one
  461.                               or more directory names, e.g.
  462.  
  463.                                    d:\dos\5.00\
  464.  
  465.  
  466.           pathname            a DOS file specification consisting of a
  467.                               filename with an optional leading path, e.g.
  468.  
  469.                                    d:\dos\5.00\command.com
  470.  
  471.  
  472.           point-and-shoot     the ability to cursor to an object such as a
  473.                               file (hence point) and when <ENTER> is
  474.                               pressed (hence shoot) have a particular
  475.                               operation carried out based on some charac-
  476.                               teristic of the selected object - such as the
  477.                               extension.
  478.  
  479.  
  480.           popup menu          a window of menu selections that appears in
  481.                               the "middle" of the current screen.  The menu
  482.                               options may initiate actions directly or
  483.                               bring up further menus with more options.
  484.  
  485.  
  486. ToolBOX User Manual                                                   Page 7
  487. ____________________________________________________________________________
  488.  
  489.  
  490.           quick command line  single predefined command lines that may be
  491.                               initiated separately from the command sets
  492.                               bound to particular keystrokes.
  493.  
  494.  
  495.           redirection         a DOS capability which allows the normal
  496.                               input or output of a command to be altered to
  497.                               come from or go to a specified file.  Redir-
  498.                               ection can be used for the DOS command lines
  499.                               within ToolBOX.
  500.  
  501.  
  502.           toggle              to switch between alternatives: ON to OFF,
  503.                               from INSERT to OVERWRITE mode, from the DOS
  504.                               display to the ToolBOX display, etc.
  505.  
  506.  
  507.           TBOX.EXE            the main program from The Binary Toolshed, as
  508.                               documented in this manual.  While the
  509.                               documentation uses the "ToolBOX" designation,
  510.                               the actual program is abbreviated to "TBOX"
  511.                               to simplify keyboard entry.  If you find this
  512.                               confusing, simply rename the program file to
  513.                               the expected "TOOLBOX.EXE".
  514.  
  515.  
  516.           TBOXCFG.EXE         a separate BTS configuration program that
  517.                               allows extensive modifications to the basic
  518.                               ToolBOX operational capabilities.  Refer to
  519.                               the TBOXCFG User Manual for more details.
  520.  
  521.           TREE.EXE            a BTS utility program that graphically
  522.                               depicts the directory structure in the form
  523.                               of a tree that can be traversed with the
  524.                               cursor keys.  The user can cursor through the
  525.                               structure to change directories or examine
  526.                               files.  Refer to the Utilities User Manual
  527.                               for more information.
  528.  
  529.  
  530.           tsr                 a Transient and Stay Resident program.  These
  531.                               programs permanently retain a small portion
  532.                               of memory while they lie dormant waiting for
  533.                               a particular action.  These programs must be
  534.                               initiated before ToolBOX is run.
  535.  
  536.  
  537.           verification window A prompt window issued by ToolBOX to ensure
  538.                               the requested operation is really desired.
  539.  
  540.           VIEW.EXE            a BTS utility program that displays the
  541.                               contents of text files for viewing or
  542.                               browsing.  Refer to the Utilities User Manual
  543.                               for more information.
  544.  
  545.  
  546. ToolBOX User Manual                                                   Page 8
  547. ____________________________________________________________________________
  548.  
  549.  
  550. 2.0 QUICK START PROCEDURE
  551.  
  552.     Chances are, ToolBOX is not the first program of this form that you
  553.     have used.  This means you are familiar with normal keyboard and
  554.     windowing techniques.  If this is the case, you should feel comfortable
  555.     with ToolBOX without any special training.
  556.  
  557.     For most people, the fastest way to learn about a program is to use it.
  558.     For this reason we suggest you start using ToolBOX right away.  This
  559.     advance familiarity will provide you with a better understanding when
  560.     you come back and read the balance of this manual.
  561.  
  562.     For this sample session, you can bypass the installation and command
  563.     line argument descriptions in the following sections.  Just run the
  564.     TBOX.EXE executable without arguments.
  565.  
  566.     Once started, ToolBOX presents a directory display window.  Use the
  567.     cursor keys to move about the display, <SPACE> to select files (try
  568.     <ALT SPACE> and <CTRL SPACE> too), and <RETURN> to invoke point-and-
  569.     shoot operations on selected files.  DOS command lines can be entered
  570.     at any time.  For a help screen showing additional features, enter
  571.     <F1>.  Most functions should be obvious.
  572.  
  573.     This brief session should introduce you to most of the basic capabil-
  574.     ities of ToolBOX.  Ultimately you will need to return to this manual to
  575.     take full advantage of the program.  Return to learn such things as
  576.     what the "." to the left of the displayed directory name means, or what
  577.     to do when <ALT SPACE> won't work under MS Windows, or how to best take
  578.     advantage of your particular video card, or that you don't need to
  579.     enter the normal "C:" then "CD \BIN".  ToolBOX understands the
  580.     shorthand equivalent "C:\BIN".  With the additional information from
  581.     this manual at your fingertips, it can only get better.
  582.  
  583.  
  584.  
  585.  
  586.  
  587. ToolBOX User Manual                                                   Page 9
  588. ____________________________________________________________________________
  589.  
  590.  
  591. 3.0 INSTALLATION
  592.  
  593. 3.1 System Requirements
  594.  
  595.     ToolBOX has minimal system requirements:
  596.  
  597.           DOS       : 3.0 or higher
  598.  
  599.           Memory    : Varies with directory size but typically in the order
  600.                       of 80KB.  As ToolBOX in turn initiates other programs
  601.                       when requested, the more memory the better.
  602.  
  603.           VIDEO     : MDA, CGA, EGA, or VGA.
  604.  
  605.           DISK      : no specific requirements.
  606.  
  607.  
  608.  
  609. 3.2 Installation Configuration
  610.  
  611.     Installation is straight forward.  Place ToolBOX.EXE in the current
  612.     directory or any directory referenced by the PATH variable.
  613.  
  614.     This also applies to all files referenced during ToolBOX's operation,
  615.     including VIEW.EXE, TREE.EXE and the DOS COMMAND.COM file.  Note, it is
  616.     not sufficient to simply direct COMSPEC to this file.
  617.  
  618.     No changes are required to the CONFIG.SYS, however, there may be
  619.     advantages with using the ANSI.SYS driver.  These advantages are
  620.     discussed in Section 4 of this manual.  Refer to your DOS User manual
  621.     for instructions on adding this driver to your CONFIG.SYS file.
  622.  
  623.     If you are using swap facility, you may wish to set the TEMP
  624.     environment variable to a suitable directory.
  625.  
  626.  
  627. ToolBOX User Manual                                                  Page 10
  628. ____________________________________________________________________________
  629.  
  630.  
  631. 4.0 PROGRAM STARTUP
  632.  
  633. 4.1 Program Environment
  634.  
  635.     ToolBOX can run with all known programs.  ToolBOX has no unique
  636.     hardware, or software requirements that should cause problems for other
  637.     programs.
  638.  
  639.     The only stipulation is that TSR programs to be run at the same time as
  640.     ToolBOX must be installed before ToolBOX is started.
  641.  
  642.  
  643.  
  644. 4.2 Startup Settings
  645.  
  646.      Many of ToolBOX's operational aspects can be adjusted at the time the
  647.      program is started.  Arguments to control these features are specified
  648.      in any of four ways:
  649.  
  650.           o on the DOS command line following the program name.
  651.  
  652.           o by a DOS SET command for the "BTS" environment variable. For
  653.             example in your AUTOEXEC.BAT or at the DOS prompt enter
  654.  
  655.                 SET BTS=args
  656.  
  657.           o saved in the TBOX.EXE executable file by the BTSPATCH
  658.             program.
  659.  
  660.           o set in the configuration file established by the TBOXCFG
  661.             program.
  662.  
  663.      Which technique you use depends on a variety of factors such as
  664.      desired permanence of the argument or impact on other users or uses.
  665.      Any or all techniques can be used.  The same encoding rules apply to
  666.      all forms.
  667.  
  668.      Arguments are specified by a dash or a slash followed by one or more
  669.      characters that identify a particular action.  For example, to select
  670.      colors for a gray scale monochrome graphics monitor use:
  671.  
  672.                     -CG
  673.  
  674.      Note:
  675.  
  676.           o all arguments are optional, must begin with a dash or slash,
  677.             and may not contain spaces within the sequence.  Spaces between
  678.             arguments are optional.
  679.  
  680.           o case is not important unless specified otherwise.
  681.  
  682.           o the order of arguments is important only if there are
  683.             conflicting options, then the last argument has precedence.
  684.  
  685.           o an audible tone sounds if any argument isn't understood.
  686.  
  687. ToolBOX User Manual                                                  Page 11
  688. ____________________________________________________________________________
  689.  
  690.  
  691.             Subsequent arguments are typically still processed.
  692.  
  693.     The precedence of the various configuration mechanisms, from lowest to
  694.     highest level, is:
  695.  
  696.           o internal program (factory) defaults.
  697.  
  698.           o default settings established by BTSPATCH.
  699.  
  700.           o the environment set variable BTS.
  701.  
  702.           o command line arguments.
  703.  
  704.           o where applicable, requests entered at run-time by the user.
  705.  
  706.     When provided, settings for each level supersede settings from the
  707.     preceding level.  Configuration files from the TBOXCFG program expand
  708.     in place where defined (e.g. in the set variable or command line
  709.     argument list).
  710.  
  711.     In the following argument definitions, enclosing brackets [ ] identify
  712.     a sequence of options of which one must be used.  For example, for the
  713.     definition -C[ b c g ], the three valid argument sequences are -Cb -Cc
  714.     and -Cg.
  715.  
  716.     All the following arguments are optional; in their absence ToolBOX will
  717.     select values that are suitable for the current environment.
  718.  
  719.  
  720.        SELECT VIDEO OUTPUT FORM:
  721.  
  722.                -V[b m c s e v] [25 43 50]
  723.  
  724.           By default, ToolBOX will select a video mode applicable to the
  725.           hardware(m,c) state at program startup.  The -V argument is used
  726.           to override this selection in order to use a different monitor
  727.           type (m,c,s,e,v), to use a different output technique (b,s) or to
  728.           alter the screen resolution (25, 43, 50).
  729.  
  730.                b    use BIOS output routines.  Normally video data is
  731.                     issued directly to the video card.  Using the BIOS will
  732.                     slow down the video update rate but may be necessary
  733.                     for some incompatible systems.
  734.  
  735.                m    assume monochrome text (MDA) video card.
  736.  
  737.                c, e, or v
  738.                     assume color graphics (CGA, EGA, or VGA) video card.
  739.                     All 3 settings have the same effect.
  740.  
  741.                s    assume CGA graphics video card and do processing to
  742.                     remove snow on screen.  This option slows down the
  743.                     update rate and should be avoided unless necessary.
  744.  
  745.                25   assume 25 visible lines of text.
  746.  
  747. ToolBOX User Manual                                                  Page 12
  748. ____________________________________________________________________________
  749.  
  750.  
  751.  
  752.                43   assume EGA/VGA card and use the 43 line by 80 column
  753.                     mode.
  754.  
  755.                50   assume VGA card and use the 50 line by 80 column mode.
  756.  
  757.  
  758.        DEFAULT COLOR SELECTION:
  759.  
  760.                -C[m c g]
  761.  
  762.           Selects one of the predefined color tables.  If the option is not
  763.           provided the current video hardware configuration is examined and
  764.           m or c assumed.  Any setting can be used with any monitor.  Also,
  765.           there is no connection between the -C and -V settings.
  766.  
  767.                m    monochrome text displays.
  768.  
  769.                c    color displays.
  770.  
  771.                g    gray scale displays, where LCD or monochrome monitors
  772.                     are driven from color video cards.  The color coding is
  773.                     greatly affected by the particular combination of video
  774.                     card and display device.  The configuration file
  775.                     facility may produce superior results.
  776.  
  777.  
  778.        SELECT EXECUTION ASPECTS:
  779.  
  780.                -X [Hh] [Dd] [Cc] [Xx] [Rr] [Pp] [Tt] [a#] [Mm]
  781.  
  782.           The following eXecution arguments are two state settings. Case is
  783.           important.  The uppercase value sets the condition.
  784.  
  785.           The default is:
  786.  
  787.                          -XhdcXrTa7m
  788.  
  789.  
  790.                H/h  include hidden and system files in directory displays.
  791.  
  792.                D/d  perform directory display and exit.  Both the C and D
  793.                     options use the screen line count from DOS; any -V##
  794.                     argument is ignored.
  795.  
  796.                C/c  perform directory display and exit only if the
  797.                     directory display fits within the single screen.  If
  798.                     the conditional exit is not taken, ToolBOX starts in
  799.                     DIRECTORY phase.
  800.  
  801.                X/x  go directly to SELECT phase.
  802.  
  803.                R/r  restore DOS screen on exit rather than the ToolBOX
  804.                     directory.
  805.  
  806.  
  807. ToolBOX User Manual                                                  Page 13
  808. ____________________________________________________________________________
  809.  
  810.  
  811.                P/p  set the default PAUSE state.  Following the execution
  812.                     of DOS commands, the PAUSE state determines whether the
  813.                     DOS output screen should be temporarily held or
  814.                     immediately replaced by the ToolBOX screen.  In either
  815.                     case the data of the DOS screen is retained and can be
  816.                     reviewed at a later time.  The PAUSE state can also be
  817.                     set through the popup menu (See Section 5.5) or through
  818.                     configuration flags on the individual command sets (see
  819.                     the TBOXCFG User Manual).
  820.  
  821.                T/t  when in EGA/VGA split screen mode, tell DOS specific-
  822.                     ally about available lines in split area.  DOS, as well
  823.                     as many application programs, refer to a BIOS variable
  824.                     to determine if they have 25, 43, or 50 lines
  825.                     available.  To work correctly with ToolBOX's split
  826.                     screen mode, DOS must be limited to 25 lines.  In most
  827.                     cases it is preferable to let other programs use the
  828.                     full screen which in split mode is the full 43 or 50
  829.                     lines.  If you are using DOS 3 or 4, this can be done
  830.                     if you are using the DOS ANSI screen driver which
  831.                     automatically forces DOS to scroll within the top 25
  832.                     lines, regardless of the actual screen size.  With
  833.                     ANSI.SYS and the "t" option the BIOS variable can
  834.                     reflect the actual physical lines available so programs
  835.                     such as VIEW, LIST, TED, DIRMATCH etc. use the full
  836.                     screen yet DOS is restricted to the top 25 lines.
  837.  
  838.                     This does not apply to DOS 5.0 or other ANSI drivers
  839.                     such as VANSI, or PC Magazines ANSI.COM.  For these
  840.                     systems use the default "T" setting.
  841.  
  842.                     ToolBOX will operate correctly with or without ANSI.SYS
  843.                     installed.  The only possible restriction being that in
  844.                     43 or 50 line mode without ANSI.SYS, some application
  845.                     programs may be needlessly restricted to 25 lines with
  846.                     DOS 3 or 4.
  847.  
  848.                a#   select permitted audible tones.  Add the numbers for
  849.                     the particular sounds you wish to hear.
  850.  
  851.                          1 border violations.  Short beeps for attempts to
  852.                            cursor beyond screen borders.
  853.  
  854.                          2 syntax.  Brief chirp made when ToolBOX is unable
  855.                     to
  856.                            understand a keyboard request.  Typically an
  857.                            unexpected character was entered.
  858.  
  859.                          4 error.  Longer warble made when a requested
  860.                            operation could not be carried out.  For example
  861.                            a file could not be deleted because it had read-
  862.                            only attributes .
  863.  
  864.                     The default is a7 - all sounds are enabled.
  865.  
  866.  
  867. ToolBOX User Manual                                                  Page 14
  868. ____________________________________________________________________________
  869.  
  870.  
  871.                M/m  retain file matchlist specification.  If the matchlist
  872.                     specification isn't retained, it is temporary and will
  873.                     revert to *.* the first time the directory display is
  874.                     updated.  This has no effect if a matchlist specific-
  875.                     ation argument isn't also present.
  876.  
  877.  
  878.        SELECT MEMORY UTILIZATION OPTIONS FOR SECONDARY PROGRAM INITIATION:
  879.  
  880.                -M [Aa] [Pp] [Dd] [Cc]
  881.  
  882.           When ToolBOX initiates an external program or application it can
  883.           optionally reduce its own size to less than 2KB by swapping
  884.           itself out of memory.  This makes more room available for the
  885.           initiated program/application.  Refer to Section 7.5 for an
  886.           explanation of why this may or may not be an advantage.
  887.  
  888.           The following Memory arguments are two state settings. Case is
  889.           important.  The uppercase value sets the condition.
  890.  
  891.           The default is:
  892.  
  893.                          -MaPDc
  894.  
  895.  
  896.                A/a  always swap external programs.
  897.  
  898.                P/p  swap to EMS (Expanded Memory System) memory if pos-
  899.                     sible.  Requires EMS 3.2 or better.  If both P and D
  900.                     are specified, expanded memory will be tried first - if
  901.                     insufficient EMS room exists, disk space will be used.
  902.  
  903.                D/d  swap to disk.  The directory used will be that
  904.                     indicated by the DOS TEMP environemnt variable.  If
  905.                     this does not exist, the DOS PATH string will be
  906.                     searched in order until a directory is found with
  907.                     sufficient room for the temporary file used during the
  908.                     swap process.
  909.  
  910.                     Normally this file is automatically deleted.  However
  911.                     if the initiated program crashes for any reason,
  912.                     ToolBOX may not be able to delete these temporary
  913.                     files.  These files show in the directory as SWP###,
  914.                     where ### is a numeric sequence number.  These files
  915.                     should be manually deleted if they occur.
  916.  
  917.                     Swapping to disk is considerably faster if the TEMP
  918.                     variable or the first directory on the PATH corresponds
  919.                     to a ramdisk.
  920.  
  921.                C/c  use the current directory for these temporary disk
  922.                     files in preference to the PATH directory.
  923.  
  924.  
  925. ToolBOX User Manual                                                  Page 15
  926. ____________________________________________________________________________
  927.  
  928.  
  929.         MATCH LIST SPECIFICATION FOR DIRECTORY PATH/FILE :
  930.  
  931.                [d:][path]matchlist
  932.  
  933.           Identifies the directory and/or set of files to be displayed on
  934.           startup.  This is for display purposes only, the current
  935.           directory remains unchanged.
  936.  
  937.                [d:][path]matchlist
  938.                     This is essentially a valid DOS file specification
  939.                     containing one or more of a disk drive, directory path,
  940.                     and any number of filename.ext match specifications.
  941.                     The wildcard characters "*" and "?" may be used within
  942.                     the file specification.  Each filename.ext may be
  943.                     prefixed by "!" to indicate files matching this
  944.                     specification are to be removed from the list of
  945.                     previously matched files.  If not provided, the parts
  946.                     default to the current drive, the current path, and *.*
  947.                     respectively.
  948.  
  949.           This is the only argument for which the leading prefix (-) is not
  950.           required.  Any argument that does not begin with a dash is
  951.           assumed to be a match-string within the matchlist specification.
  952.           Although the drive and directory can only be stated once, the
  953.           file specification field may be repeated any number of times.
  954.  
  955.           To permit dashes within filespecs, the specification is assumed
  956.           to continue until the next blank.
  957.  
  958.           If the matchlist specification is provided, only files matching
  959.           this criteria are displayed.  Unless the -xM option was also
  960.           specified, this will only remain in effect until the directory
  961.           window is redisplayed for any reason, when it will revert to
  962.           ".\*.*".  If -xM was provided, the specification will remain in
  963.           effect until a keyboard DIR command with a corresponding /M
  964.           option is entered.
  965.  
  966.  
  967.         SELECT DIRECTORY DISPLAY FORMAT:
  968.  
  969.                -F#
  970.  
  971.           Selects one of the pre-configured presentation display formats
  972.           for the files in the directory window.  This is equivalent to the
  973.           /F# display format parameter of the DIR command, or the format
  974.           option of the <F2><f> popup menu.  These are described in Section
  975.           6.2 and Section 5.5 respectively.
  976.  
  977.                #    single character specification for one of the 8
  978.                     settings.  This is stated as the index 1 through 8 or
  979.                     as the single identification letter used in the option
  980.                     window.  The identification letters and the display
  981.                     fields associated with them are shown in Appendix B.
  982.  
  983.  
  984. ToolBOX User Manual                                                  Page 16
  985. ____________________________________________________________________________
  986.  
  987.  
  988.                     The default setting is the 2 column Master format:
  989.  
  990.                           -F1
  991.  
  992.  
  993.         SELECT DIRECTORY SORT CRITERIA:
  994.  
  995.                -S#
  996.  
  997.            Selects one of the pre-configured sort procedures used for file
  998.            entries in the directory window.  This is equivalent to the /S#
  999.            sort parameter of the DIR command, or the sort option of the
  1000.            <F2><s> popup menu.
  1001.  
  1002.                #    single character specification for one of the 8
  1003.                     possible sort criteria. This is stated as the index 1
  1004.                     through 8, or as the single identification letter used
  1005.                     in the option window.  The identification letter and
  1006.                     sort rules associated with each of the 8 indexes are
  1007.                     shown in Appendix B.
  1008.  
  1009.                     The default sort is first by extension, and then by
  1010.                     name:
  1011.                           -S1
  1012.  
  1013.  
  1014.          SPECIFY CONFIGURATION FILE:
  1015.  
  1016.                @cfgfile
  1017.  
  1018.            This argument selects a configuration file that has been
  1019.            established by the TBOXCFG program.  Only one configuration file
  1020.            may be referenced.
  1021.  
  1022.            If the file is not in the current directory, the full path must
  1023.            be provided.  An extension of ".CFG" is assumed if one is not
  1024.            specified.
  1025.  
  1026.            The contents of the configuration file (which may contain
  1027.            additional command line arguments) are processed immediately at
  1028.            the spot in the command line where the reference occurs.
  1029.  
  1030.  
  1031.  
  1032. ToolBOX User Manual                                                  Page 17
  1033. ____________________________________________________________________________
  1034.  
  1035.  
  1036.      EXAMPLES OF COMMAND LINE ARGUMENTS (including equivalent BTS SET
  1037.      variable assignments and BTSPATCH program usage):
  1038.  
  1039.           o the defaults are equivalent to :
  1040.  
  1041.  
  1042.                >SET BTS=-V25 -XshdcXrTa7m *.* -MaPDc -F1 -S1
  1043.  
  1044.                     NOTE: The non-stated video and color defaults are
  1045.                           automatically determined on startup.
  1046.  
  1047.  
  1048.           o the typical use:
  1049.  
  1050.                >SET BTS=
  1051.                >TBOX
  1052.  
  1053.           o allocate 43 screen lines for a gray scale monitor, sort by
  1054.             date, display hidden files, don't show .bak or .pag files
  1055.             display only file name and extension information in the
  1056.             directory display, turn off the audio and because we're using
  1057.             ANSI.SYS and not DOS 5, don't tell DOS it must only use 25
  1058.             lines:
  1059.  
  1060.                >SET BTS=-Vv43-Cg-F4-S4 !*.pag
  1061.                >TBOX -Xa0Ht !*.bak
  1062.  
  1063.           o or, equivalent to the above:
  1064.  
  1065.                >BTSPATCH BTS= -V43 -XH
  1066.                >TBOX -S4-F4 -Xa0 -Cg-Xt !*.bak !*.pag
  1067.  
  1068.           o to setup a simple menu for initiating BASIC files from a
  1069.             different directory:
  1070.  
  1071.                >TBOX -F5 -XM c:\basic\*.bas
  1072.  
  1073.           o our personal favorite here at the Binary Toolshed (for DOS 3.3)
  1074.  
  1075.                >BTSPATCH TBOX=-ve43-Xt
  1076.  
  1077.  
  1078. ToolBOX User Manual                                                  Page 18
  1079. ____________________________________________________________________________
  1080.  
  1081.  
  1082. 5.0 OPERATIONAL OVERVIEW
  1083.  
  1084. 5.1 Introduction
  1085.  
  1086.     ToolBOX simultaneously provides directory display operations, point-
  1087.     and-shoot functions, and a direct pass through mechanism for DOS
  1088.     commands.  The balance of this manual outlines the basic keyboard
  1089.     commands for performing these functions.
  1090.  
  1091.     In particular, Sections 5 through 9 describe features available through
  1092.     the factory default command settings.  The default settings will be
  1093.     sufficient for most users.  The TBOXCFG User Manual describes the lower
  1094.     level ToolBOX functions used to implement these operations, as well as
  1095.     the configuration facility for augmenting or altering the basic
  1096.     commands.  There are many configuration capabilities that are probably
  1097.     not obvious from reading this manual such as changing the top banner
  1098.     line or the colors, or recognizing particular programs and accordingly
  1099.     altering the program swap, screen swap, or pause state.  Refer to the
  1100.     TBOXCFG manual for a complete list of the configuration capabilities.
  1101.  
  1102.     Because of the configurability of ToolBOX, the descriptions in this
  1103.     manual refer to the factory default settings within the program before
  1104.     any possible replacement by user configuration files.  Configuration
  1105.     files could alter the function keys or the functions associated with
  1106.     these keys.  Refer to the on-line help for the particular commands that
  1107.     are actually available.
  1108.  
  1109.     Unless noted otherwise, commands described in the following sections
  1110.     can be executed at any time the system is in its normal directory
  1111.     display state.
  1112.  
  1113.  
  1114.  
  1115. 5.2 The Basics
  1116.  
  1117.     The program starts with a directory display.  ToolBOX fills the screen
  1118.     window with a display of files in the current directory.  See Figure
  1119.     5.2/1.  The header portion of the display identifies global information
  1120.     such as volume, directory name, amount of space used by the displayed
  1121.     directory and the amount of free space on the disk volume.  The lower
  1122.     portion displays the actual files organized in serpentine fashion in a
  1123.     varying number of columns across the window.  This is the view you will
  1124.     have virtually all the time you are in ToolBOX.
  1125.  
  1126.     The <LEFT>, <RIGHT>, <UP>, <DOWN>, <PG UP>, and <PG DN> keys move the
  1127.     cursor through the directory display.  <HOME> and <END> move the cursor
  1128.     to the top and bottom lines of the current display respectively, while
  1129.     <HOME><HOME> and <END><END> move the cursor to the extreme bounds of
  1130.     the file list.  <TAB> is similar to the <DOWN> key except that at the
  1131.     end of a column <TAB> will automatically move to the start of the
  1132.     succeeding column.
  1133.  
  1134.     <SPACE> selects the file at the current cursor position.  Selected
  1135.     files (or directories) may either be used in point-and-shoot operations
  1136.     or referenced by DOS command lines.  Various video attributes indicate
  1137.  
  1138. ToolBOX User Manual                                                  Page 19
  1139. ____________________________________________________________________________
  1140.  
  1141.  
  1142.     the current cursor position and which files are selected.
  1143.  
  1144.     <RETURN> initiates the point-and-shoot operation on selected files.
  1145.  
  1146.  
  1147.     ╒═The Binary Toolshed ══════════ ToolBOX ═════════ Tue Jly14/92 10:34:10═╕
  1148.     │ . D:\DOS50\*.*                                              Vol: SYS   │
  1149.     │   521,277 bytes in 33 files                        815,104 free (2%)   │
  1150.     ╞════════════════════════════════════════════════════════════════════════╡
  1151.     │\        ..    <DIR>                 FDISK   .EXE 57,224  09Apr91 05:00 │
  1152.     │ ASSIGN  .COM  6,399  09Apr91 05:00  LABEL   .EXE  9,390  09Apr91 05:00 │
  1153.     │rCOMMAND .COM 47,845  09Apr91 05:00  MEM     .EXE 39,818  09Apr91 05:00 │
  1154.     │ DISKCOMP.COM 10,652  09Apr91 05:00  REPLACE .EXE 20,226  09Apr91 05:00 │
  1155.     │ DISKCOPY.COM 11,793  09Apr91 05:00  SETVER  .EXE 12,007  09Apr91 05:00 │
  1156.     │ DOSKEY  .COM  5,883  09Apr91 05:00  SHARE   .EXE 10,912  09Apr91 05:00 │
  1157.     │ FORMAT  .COM 32,911  09Apr91 05:00  SUBST   .EXE 18,478  09Apr91 05:00 │
  1158.     │ MODE    .COM 23,537  09Apr91 05:00  UNDELETE.EXE 13,924  09Apr91 05:00 │
  1159.     │ MORE    .COM  2,618  09Apr91 05:00  XCOPY   .EXE 15,804  09Apr91 05:00 │
  1160.     │ SYS     .COM 13,440  09Apr91 05:00  QC      .INI    573  10Jly91 22:58 │
  1161.     │ UNFORMAT.COM 18,576  09Apr91 05:00  ANSI    .SYS  9,029  09Apr91 05:00 │
  1162.     │ APPEND  .EXE 10,774  09Apr91 05:00  DRIVER  .SYS  5,409  09Apr91 05:00 │
  1163.     │ ATTRIB  .EXE 15,796  09Apr91 05:00  HIMEM   .SYS 11,552  09Apr91 05:00 │
  1164.     │ CHKDSK  .EXE 16,200  09Apr91 05:00  PRINTER .SYS 18,804  09Apr91 05:00 │
  1165.     │ COMP    .EXE 14,282  09Apr91 05:00  RAMDRIVE.SYS  5,873  09Apr91 05:00 │
  1166.     │ EXPAND  .EXE 14,563  09Apr91 05:00  SMARTDRV.SYS  8,335  09Apr91 05:00 │
  1167.     │ FC      .EXE 18,650  09Apr91 05:00                                     │
  1168.     │                                                                        │
  1169.     │                                                                        │
  1170.     │                                                                        │
  1171.     ╘════════════════════════════════════════════════════════════════════════╛
  1172.  
  1173.     FIGURE 5.2/1  Sample ToolBOX Display of Directory for DOS 5.0
  1174.  
  1175.  
  1176.     DOS commands are entered at any time simply by typing them in.  On the
  1177.     first character entered a command line will appear at the bottom of the
  1178.     screen.  Use the cursor keys, <INS>, <DEL>, etc. as required to edit the
  1179.     command line text.  Then <ENTER> to have it executed.  Use the
  1180.     <UP>/<DOWN> keys to scroll through the text of recently entered command
  1181.     lines.
  1182.  
  1183.     Operations such as deleting files or exiting to DOS generate
  1184.     verification prompt windows.  The desired action can be chosen with the
  1185.     <UP>/<DOWN> keys and selected with the <ENTER> key.  <ESC> is equivalent
  1186.     to the negative response.
  1187.  
  1188.     Use <ESC> at any time to back out of the current operation, such as the
  1189.     entry of a DOS command line, the current help window, the verification
  1190.     prompt, or simply to exit from ToolBOX.
  1191.  
  1192.     As this indicates, ToolBOX's basic operation is straight forward.  If
  1193.     you haven't done so already, try using ToolBOX before reading further
  1194.     sections.  Some experimentation at this point may help you in
  1195.     understanding the nuances and features you will read about.
  1196.  
  1197.  
  1198. ToolBOX User Manual                                                  Page 20
  1199. ____________________________________________________________________________
  1200.  
  1201.  
  1202.  
  1203.  
  1204. 5.3 Directory/Select Modes
  1205.  
  1206.     ToolBOX functions in either of 2 modes: DIRECTORY or SELECT.  Normally
  1207.     the program starts and remains in SELECT mode.  DIRECTORY mode is a
  1208.     special state optimized for use as a basic directory display.
  1209.  
  1210.     The modes are similar in that both permit DOS command lines and other
  1211.     single key operations, and they both display directory data.  However,
  1212.     in SELECT mode the commands may reference and operate on individual
  1213.     files preselected from within the directory display.
  1214.  
  1215.     As there is no need to select individual files in DIRECTORY mode, all
  1216.     the cursor control keys move through the screen display in a slightly
  1217.     different manner than when in SELECT mode.
  1218.  
  1219.     <ALT F10> toggles between DIRECTORY and SELECT mode.  The <SPACE> key
  1220.     will also change the state from DIRECTORY to SELECT mode.
  1221.  
  1222.     Again, DIRECTORY mode is provided for use when ToolBOX is essentially a
  1223.     replacement for the DOS DIR command.  Unless stated otherwise, the
  1224.     balance of this manual assumes the user is in SELECT mode.
  1225.  
  1226.  
  1227.  
  1228. 5.4 Help Facility
  1229.  
  1230.     HELP is obtained by entering <F1>.
  1231.  
  1232.     Two levels of help are available:
  1233.  
  1234.           <F1>      single line descriptions of each command showing:
  1235.                          o selected file match string requirement, or
  1236.                            "----" if not applicable.
  1237.                          o keyboard key used to initiate the command.
  1238.                          o short description.
  1239.  
  1240.           <ALT F1>  description lines as above plus the actual command
  1241.                     lines (DOS or ToolBOX intrinsics) used to carry out the
  1242.                     operation.
  1243.  
  1244.     Within the help screen, commands are listed in command search order.
  1245.  
  1246.     Use <UP>,<DOWN>, <PG UP>, <PG DN>, <HOME>, <END> to scroll within the
  1247.     help screens.  Use <ESC> to exit the help mode and return to the
  1248.     directory display.
  1249.  
  1250.  
  1251.  
  1252. 5.5 Popup Menu Window
  1253.  
  1254.     A popup menu can be invoked with <F2>, or </>.  This menu provides an
  1255.     alternative mechanism for entering several of the more commonly used
  1256.     ToolBOX commands.
  1257.  
  1258. ToolBOX User Manual                                                  Page 21
  1259. ____________________________________________________________________________
  1260.  
  1261.  
  1262.  
  1263.     Within the popup window use <UP> and <DOWN> to move the highlighted
  1264.     cursor position to another option.  Use <RETURN> to either invoke the
  1265.     option at the current cursor, or if applicable to select the next level
  1266.     of options.  <ESC> to exit without making any changes.
  1267.  
  1268.     Where applicable, a diamond appears beside the option corresponding to
  1269.     the current setting.
  1270.  
  1271.     All of the command functions available through the popup menu are
  1272.     available elsewhere, although usually in a less intuitive form.
  1273.  
  1274.     In particular, the functions:
  1275.  
  1276.           . execute a quick command line.  Section 9.5 describes how quick
  1277.             command lines are created, executed, or deleted.  The popup menu
  1278.             is the only method for displaying the quick command lines.
  1279.  
  1280.           . select one of the 8 possible directory display formats.  See
  1281.             Section 6.2.
  1282.  
  1283.           . select one of the 8 possible directory display sort algorithms.
  1284.             See Section 6.2.
  1285.  
  1286.           . set the state of the PAUSE flag.  The flag determines what
  1287.             happens to the DOS screen on completion of DOS commands.  See
  1288.             Section 9.3.
  1289.  
  1290.           . set the state of the DIRECTION flag. See Section 9.3.
  1291.  
  1292.  
  1293.  
  1294. 5.6 Error Reporting
  1295.  
  1296.     Four levels of audio tones of increasing significance denote invalid
  1297.     data entry:
  1298.  
  1299.           o Level 1     : signals attempts to move past the extremes of the
  1300.                           directory display.
  1301.  
  1302.           o Level 2     : signals a keystroke entry is not understood.
  1303.  
  1304.           o Level 3     : signals a requested operation was not successful,
  1305.                           such as a file could not be deleted.
  1306.  
  1307.           o Level 4     : for serious problems that shouldn't have been
  1308.                           feasible to fail or for which continued operation
  1309.                           is questionable: a TSR program was run after
  1310.             ToolBOX,
  1311.                           insufficient memory available, internal errors,
  1312.                           etc.
  1313.  
  1314.     The first three levels can be selectively disabled with the -Xa# command
  1315.     line argument.
  1316.  
  1317.  
  1318. ToolBOX User Manual                                                  Page 22
  1319. ____________________________________________________________________________
  1320.  
  1321.  
  1322.  
  1323.  
  1324. 5.7 Exit To DOS
  1325.  
  1326.     Entering <ESC> in SELECT or DIRECTORY mode will generate a verification
  1327.     window.  It asks if you really want to end the ToolBOX program and
  1328.     return to DOS.
  1329.  
  1330.     Usually, when returning to DOS, the directory display will remain on the
  1331.     screen, although the window border will disappear.  If using the -XR
  1332.     command line argument when starting ToolBOX (see Section 4.2), the last
  1333.     DOS window is restored rather than retaining the current ToolBOX
  1334.     directory display.
  1335.  
  1336.  
  1337.  
  1338. ToolBOX User Manual                                                  Page 23
  1339. ____________________________________________________________________________
  1340.  
  1341.  
  1342. 6.0 DIRECTORY DISPLAY
  1343.  
  1344. 6.1 Introduction
  1345.  
  1346.     As illustrated in Section 5.2/1, the normal ToolBOX display window has
  1347.     two sections: the header area with directory summary information, and
  1348.     the larger bottom area with information on specific files within the
  1349.     directory.
  1350.  
  1351.     Most of the header fields are straight forward: current time, disk drive
  1352.     volume name, total file space used within the displayed directory, and
  1353.     available free space on the drive.  The directory path field within the
  1354.     header contains the file matchlist used to determine the files displayed
  1355.     in the lower file section.  The default is "*.*" so all files within the
  1356.     directory are displayed.  A "." to the left of the directory path
  1357.     indicates that the displayed directory is also the current directory.
  1358.  
  1359.     The bottom portion of the ToolBOX display window is similar to the
  1360.     information provided by the DOS DIR command.  Usually this shows files
  1361.     from the current directory.  Files are displayed/sorted in balanced
  1362.     vertical columns across the width of the window.  Excess file entries
  1363.     exist to the top or bottom of the visible window, not to the sides.
  1364.  
  1365.     The information presented for each file varies with each of the 8
  1366.     display formats, but contains one or more of the file name, file
  1367.     extension, size in bytes, last modification date, and status character.
  1368.     This status character, in order of precedence from the highest to the
  1369.     lowest, is:
  1370.  
  1371.                s   system file
  1372.                h   hidden file
  1373.                r   read-only file
  1374.                \   subdirectory
  1375.  
  1376.     The status character is blank if none of these conditions are
  1377.     applicable.
  1378.  
  1379.     Alter the display by changing the current directory, or by adjusting the
  1380.     presentation rules.  Each time the directory data is updated, a sequence
  1381.     of incrementing numbers appear randomly around the screen.  This has no
  1382.     practical purpose other than to fill in the time.
  1383.  
  1384.     Section 7 elaborates on entering command lines.  Regarding the commands
  1385.     described in the balance of this section,  just accept for the moment
  1386.     that DOS-like command lines can be entered at any time.  Also, while the
  1387.     ToolBOX "dir" and "cd" commands are not identical to the DOS
  1388.     equivalents, they are very similar.
  1389.  
  1390.  
  1391. ToolBOX User Manual                                                  Page 24
  1392. ____________________________________________________________________________
  1393.  
  1394.  
  1395. 6.2 The DIR Command
  1396.  
  1397.     The "dir" command controls the presentation aspects.  Neither case
  1398.     (except for the dir itself) nor parameter order (except for the
  1399.     matchlist "!" fields) are significant.
  1400.  
  1401.         dir [ [d:][path][matchlist] ] [/f#] [/s#] [/hH] [/m]
  1402.  
  1403.  
  1404.             [d:][path][matchlist]
  1405.                     Identifies directory display drive, path and one or more
  1406.                     file match-string specifications.  The "?" and "*"
  1407.                     wildcard characters are permitted in each of the file
  1408.                     match specifications.
  1409.  
  1410.                     The "!" character can be used as a prefix to indicate
  1411.                     that files matching that specification will be removed
  1412.                     from the file list selected by previous selections.
  1413.                     Evaluation is always done left to right.  If the first
  1414.                     field begins with "!", an implied leading "*.*" is
  1415.                     assumed.
  1416.  
  1417.                     Again note, the drive and path can only occur once, but
  1418.                     the file specification with or without the "!" can occur
  1419.                     any number of times.
  1420.  
  1421.  
  1422.             /f#     Selects one of 8 pre-configured display formats.  # may
  1423.                     be a numeric index (1 through 8) or the letter corres-
  1424.                     ponding to the first capital in the option labels.
  1425.                     While summarized here, these labels and the correspond-
  1426.                     ing display formats are described in detail in Appendix
  1427.                     B.
  1428.                               1  Master
  1429.                               2  filename-Size
  1430.                               3  filename-Date
  1431.                               4  Filename
  1432.                               5  Name
  1433.                               6  mAster (B)
  1434.                               7  siZe-filename
  1435.                               8  filename-sizE (B)
  1436.  
  1437.                     The number of columns automatically adjusts to
  1438.                     accommodate the varying amounts of information for each
  1439.                     selection.  Leaving the # field blank restores the
  1440.                     program startup setting.
  1441.  
  1442.  
  1443.             /s#     Selects one of 8 pre-configured sort algorithms.  # may
  1444.                     be a numeric index (1 through 8) or the letter corres-
  1445.                     ponding to the first capital in the option description
  1446.                     label.  These labels, used in the <F2> popup window are
  1447.                     described in Appendix B.  This appendix also explains
  1448.                     the specific sort criteria used for each of the 8
  1449.                     selections.
  1450.  
  1451. ToolBOX User Manual                                                  Page 25
  1452. ____________________________________________________________________________
  1453.  
  1454.  
  1455.  
  1456.                               1  eXtension-name
  1457.                               2  Date-name
  1458.                               3  Size-name
  1459.                               4  dOs order
  1460.                               5  Name-extension
  1461.                               6  extension-daTe
  1462.                               8  extension-siZe
  1463.                               8  Reverse-date-name
  1464.  
  1465.                     Again, leaving the # field blank restores the program
  1466.                     startup setting.
  1467.  
  1468.  
  1469.             /m      Locks in the matchlist specification.  Without this
  1470.                     parameter the matchlist is used for this display update
  1471.                     only, with the display reverting back to the prior
  1472.                     matchlist specification on the next update.  The "/m"
  1473.                     makes the matchlist specification permanent until
  1474.                     another DIR command with a "/m" parameter is used.
  1475.  
  1476.             /h or /H
  1477.                     Setting to exclude or include hidden and system files in
  1478.                     the display directory:
  1479.  
  1480.                               h  do not include hidden and system files.
  1481.                               H  include hidden and system files.
  1482.  
  1483.                     If not stated, the hidden and system files are displayed
  1484.                     as per the ToolBOX -X[hH] command line argument
  1485.  
  1486.     The following example displays all the files in c:\DOS directory having
  1487.     an extension starting with c except for .com files, sorted in the
  1488.     natural DOS order, and showing only the size and filename for each file:
  1489.  
  1490.           dir /fs c:\dos\*.c /so !*.com
  1491.  
  1492.     The /f and /s parameters are permanently retained.  If the above command
  1493.     is followed by the simple
  1494.  
  1495.          dir d:\bin
  1496.  
  1497.     then /fs and /so remain in effect, but the file matchlist for d:\bin is
  1498.     assumed from what was in place prior to the first example.
  1499.  
  1500.  
  1501.  
  1502.  
  1503. ToolBOX User Manual                                                  Page 26
  1504. ____________________________________________________________________________
  1505.  
  1506.  
  1507. 6.3 The CD Command
  1508.  
  1509.  
  1510.     The change directory command ( cd ) is similar to the DOS counterpart
  1511.     but has fewer restrictions.
  1512.  
  1513.         [cd] [d:][path]
  1514.  
  1515.             [d:]    valid DOS drive.
  1516.  
  1517.             [path]  any valid DOS directory specification.
  1518.  
  1519.      Drive changes can be combined with the directory change.  Also, the
  1520.      command name itself is optional.  It is assumed that if the first
  1521.      command word is a directory, then the only logical operation is to
  1522.      change directories to it.  The ToolBOX command:
  1523.  
  1524.                c:\utl
  1525.  
  1526.      is equivalent to the DOS commands:
  1527.  
  1528.                c:
  1529.                cd \utl
  1530.  
  1531.  
  1532.  
  1533.  
  1534. ToolBOX User Manual                                                  Page 27
  1535. ____________________________________________________________________________
  1536.  
  1537.  
  1538. 7.0 KEYBOARD COMMAND LINE PROCESSING
  1539.  
  1540. 7.1 Introduction
  1541.  
  1542.     The keyboard command line is used to create text (command) lines that
  1543.     are subsequently processed, either by DOS or directly by ToolBOX.
  1544.     Pressing any printable character on the keyboard (or <CTRL f>, see
  1545.     Section 7.6) will place ToolBOX into command line mode.  The command
  1546.     line is on the bottom of the screen with a "CMD>" prefix.  Command lines
  1547.     may contain up to 76 characters.
  1548.  
  1549.     In this document, the term command line refers to any text that is
  1550.     subsequently processed as a command, by DOS or ToolBOX.  This text may
  1551.     originate from a quick command, be one of many within a command set
  1552.     associated with a function key, or be manually entered through the
  1553.     keyboard line at the bottom of the screen.  The actual source is not
  1554.     relevant unless specifically identified.
  1555.  
  1556.  
  1557.  
  1558. 7.2 Editing
  1559.  
  1560.     Editing keys are available for modifying the keyboard command line prior
  1561.     to pressing the <RETURN> key that starts processing.  <LEFT>, <RIGHT>,
  1562.     <HOME>, <END>, <DELETE> and <BACKSPACE> all behave as expected.  The
  1563.     <INSERT> key  toggles between insert mode (denoted with a lower line
  1564.     cursor) and overstrike mode (denoted with a block cursor).  <ESC>
  1565.     aborts the command line entry.  The cursor does not need to be at the
  1566.     end of the line when <RETURN> is pressed.
  1567.  
  1568.     Some commands, such as the <ALT f> format key binding discussed in
  1569.     Section 9.4, produce an initial command line that can be altered or
  1570.     completed before <RETURN> is entered.  If a portion of this line is
  1571.     displayed in reverse video, this field will be replaced if any printable
  1572.     characters are entered.
  1573.  
  1574.  
  1575. 7.3 Keyboard Command Stack
  1576.  
  1577.     ToolBOX maintains a command stack of the most recent command lines.
  1578.     When editing a command line, use <UP> or <DOWN> to scroll through
  1579.     previously entered commands.  Once recalled, these commands can be
  1580.     edited and modified, as if they were entered directly through the
  1581.     keyboard.  Duplicate command lines are not retained in the command
  1582.     stack.  The oldest commands are discarded when the 500 character
  1583.     capacity of the command stack is exceeded.
  1584.  
  1585.     When the command line is not visible, pressing <INSERT> will recall the
  1586.     most recent command line from the command stack.
  1587.  
  1588.  
  1589.  
  1590.  
  1591. ToolBOX User Manual                                                  Page 28
  1592. ____________________________________________________________________________
  1593.  
  1594.  
  1595. 7.4 DOS/ToolBOX Command Processing
  1596.  
  1597.     Excluding the keys used for editing or for manipulating the directory
  1598.     cursor, all keyboard data entry ultimately generates a line of text
  1599.     (command line) that must be processed by ToolBOX.  This command text can
  1600.     originate from many sources.  Manually entered in the command line at
  1601.     the bottom of the screen or perhaps generated from quick commands or
  1602.     command sets triggered by a single keystroke.  Regardless, the resulting
  1603.     command lines are processed in the same way.
  1604.  
  1605.     ToolBOX uses DOS to process some commands and handles others itself.
  1606.     These internal ToolBOX commands (or intrinsics) include dir, del, and
  1607.     cd.  Intrinsic commands can be entered as either upper or lower case.
  1608.     If the DOS equivalent is desired, enter the command characters in mixed
  1609.     case.  The command line will then be passed to DOS which is case
  1610.     insensitive.  For example "dir a:\*.c" will be processed by ToolBOX to
  1611.     update its window, while "Dir a:\*.c" will generate the traditional
  1612.     scrolling column of file information.
  1613.  
  1614.     By default any command line that doesn't start with one of the known
  1615.     intrinsic commands is assumed to be a DOS command line.  These reserved
  1616.     intrinsic command words described in the next subsections are cd, d:,
  1617.     dir, del, killdir, sel, tbx, t*x, or a directory name.
  1618.  
  1619.     The non-intrinsic command lines are essentially identical to those you
  1620.     would enter at the DOS prompt and are processed as if entered there.
  1621.     There are a few exceptions.  Operations specific to batch files are not
  1622.     supported (e.g. labels, errorLevel, or the GOTO command), nor are
  1623.     commands which modify environment variables (e.g. SET or PATH).  Also,
  1624.     you cannot invoke programs that establish TSR segments.  These programs
  1625.     should be installed prior to running ToolBOX.  If an invoked program
  1626.     does establish a resident TSR segment, ToolBOX will issue a warning of
  1627.     the imminent problem.  At best the memory space occupied by ToolBOX will
  1628.     be unusable by DOS on exit; at worst the conflicting memory requirements
  1629.     of ToolBOX and the TSR could cause either to crash.
  1630.  
  1631.     Programs, for which a specific path is not stated, may exist in the
  1632.     current directory or in any directory referenced by the PATH.
  1633.  
  1634.     Programs having .EXE or .COM extensions are executed directly - yielding
  1635.     a marginal speed and memory (about 4 KB) advantage.  For the others
  1636.     including programs without extensions, .BAT files, DOS internal commands
  1637.     or any command line with piping or redirection of STDIN or STDOUT, a
  1638.     secondary COMMAND.COM shell is invoked to process the command line.
  1639.  
  1640.  
  1641.  
  1642. 7.5 Memory Utilization
  1643.  
  1644.     If memory utilization is an issue, ToolBOX is capable of reducing its
  1645.     own memory requirements to less than 2Kb prior to invoking any external
  1646.     program.  ToolBOX can be rolled out (or swapped) simply by prefixing the
  1647.     command line with "@".  For example
  1648.  
  1649.                @wp whatever.txt
  1650.  
  1651. ToolBOX User Manual                                                  Page 29
  1652. ____________________________________________________________________________
  1653.  
  1654.  
  1655.  
  1656.     will allow WordPerfect to have essentially as much memory as if it had
  1657.     been run without ToolBOX.
  1658.  
  1659.     ToolBOX startup arguments (see Section 4.2) identify whether this
  1660.     rollout occurs automatically or only when the "@" is specified.  These
  1661.     arguments also specify whether EMS memory and/or disk is used for the
  1662.     intermediate storage.
  1663.  
  1664.     Most programs neither need nor can take advantage of significant amounts
  1665.     of memory.  When using EMS memory or a ram-disk, while admittedly small,
  1666.     there is always a speed penalty for swapping ToolBOX out of active
  1667.     memory.  It is suggested that the "@" function be reserved for programs
  1668.     where there is a specific advantage to doing so.
  1669.  
  1670.  
  1671. 7.6 Command Line Variables
  1672.  
  1673.     Variables, inserted into keyboard command lines by <CTRL letter>,
  1674.     simplify the entry of filenames and related information.  The typical
  1675.     command line use for these variables is to reference files selected
  1676.     within the directory display, although not all variables require
  1677.     selected files.  The variables and the values they are used to represent
  1678.     are:
  1679.  
  1680.           <CTRL d>    display drive letter
  1681.           <CTRL p>    display path
  1682.           <CTRL n>    1 to 8 character file name
  1683.           <CTRL x>    0 to 3 character extension
  1684.  
  1685.           <CTRL f>    minimized pathname, i.e. sufficient information to
  1686.                       uniquely reference the selected file from the current
  1687.                       directory
  1688.  
  1689.           <CTRL D>    current drive letter
  1690.           <CTRL P>    current path
  1691.  
  1692.     Within the keyboard command line, these variables are displayed as a
  1693.     diamond prefix followed by the alphabetic character.
  1694.  
  1695.     If the directory display is for the current directory then the current
  1696.     and display directories coincide, however, this need not be the case.
  1697.  
  1698.  
  1699. ToolBOX User Manual                                                  Page 30
  1700. ____________________________________________________________________________
  1701.  
  1702.  
  1703.     As an example, if the selected file is C:\DOS\XCOPY.COM then the
  1704.     respective variables when C:\DOS is displayed from two alternate
  1705.     directories, are:
  1706.  
  1707.                CURRENT DIR IS C:\DOS      CURRENT DIR IS A:\
  1708.                DISPLAY DIR IS C:\DOS      DISPLAY DIR IS C:\DOS
  1709.                ─────────────────────      ─────────────────────
  1710.      <CTRL D>            C                        A
  1711.      <CTRL d>            C                        C
  1712.      <CTRL P>            \DOS                     \
  1713.      <CTRL p>            \DOS                     \DOS
  1714.      <CTRL n>            XCOPY                    XCOPY
  1715.      <CTRL x>            COM                      COM
  1716.      <CTRL f>            XCOPY.COM                C:\DOS\XCOPY.COM
  1717.  
  1718.     Typically <CTRL f> is used to reference any file from the directory
  1719.     display as it automatically provides all required components and
  1720.     delimeters.  For example, to use the DOS COPY command to move the above
  1721.     file to a:\tmp when in a:\, the following are all correct and
  1722.     equivalent:
  1723.  
  1724.           copy c:\dos\xcopy.com a:\tmp
  1725.           copy <CTRL f> a:\tmp
  1726.           copy <CTRL d>:<CTRL p>\<CTRL n>.<CTRL x> <CTRL D>:\tmp
  1727.  
  1728.     Variables are especially useful for commands used with multiple
  1729.     selections from the directory display.  For example, to delete any
  1730.     number of selected directory entries, enter:
  1731.  
  1732.           rd <CTRL f>
  1733.  
  1734.     Command lines that contains a variable reference will be executed once
  1735.     for each selected file.
  1736.  
  1737.     Variables also make it easier to re-use command lines in the command
  1738.     stack.  There is usually less editing required.
  1739.  
  1740.  
  1741.  
  1742. 7.7 External Command Access
  1743.  
  1744.     While in keyboard command line mode, it is still possible to execute
  1745.     several of the single key stroke ToolBOX functions.  As a simple
  1746.     guideline, any command can be used as long as it does not conflict with
  1747.     characters used for editing the command lines, change the current
  1748.     directory, or reference the currently selected files.  The commands that
  1749.     can be used include those that alter the number of screen lines, change
  1750.     the split screen status, change the display sort and format settings,
  1751.     toggle ToolBOX/DOS views etc.  If you enter an inappropriate command, an
  1752.     audible tone will sound.
  1753.  
  1754.  
  1755.  
  1756. ToolBOX User Manual                                                  Page 31
  1757. ____________________________________________________________________________
  1758.  
  1759.  
  1760. 8.0 COMMAND SEQUENCING
  1761.  
  1762. 8.1 Introduction
  1763.  
  1764.  
  1765.     Commands are initiated in many ways within ToolBOX.  They may be
  1766.     manually entered DOS-like command lines, pre-configured sets of command
  1767.     lines or quicklines activated with a single key, a result of a point-
  1768.     and-shoot operation, or options chosen from popup menus.  The term
  1769.     point-and-shoot refers to the ability to cursor to a given object, and
  1770.     then have an operation carried out based on a characteristic of the
  1771.     selected item.
  1772.     Regardless of the source, the commands all share the same capabilities:
  1773.     all can access ToolBOX or DOS command facilities and all can optionally
  1774.     incorporate selected display files.
  1775.  
  1776.     This section describes the selection of files, and the determination of
  1777.     the operation to be performed on the selected files.
  1778.  
  1779.  
  1780.  
  1781. 8.2 File Selection
  1782.  
  1783.  
  1784.     In SELECT MODE files can be selected (or tagged) for inclusion in
  1785.     subsequent command execution.  Later sections will detail the actual
  1786.     execution.
  1787.  
  1788.     Move the cursor to a particular file, then use the following commands
  1789.     to select or unselect a file or groups of files:
  1790.  
  1791.  
  1792.             <SPACE>         toggle status of file at cursor.
  1793.  
  1794.             <SHIFT SPACE>   toggle status of file at cursor and then move
  1795.                             cursor to the next file (equivalent to <SPACE>
  1796.                             <TAB>).
  1797.  
  1798.             <SHIFT cursor-key> toggles a range of files that can be extended
  1799.                             in any direction by the <SHIFT LEFT>, <SHIFT
  1800.                             RIGHT>, <SHIFT UP>, or <SHIFT DOWN> keys.
  1801.  
  1802.             <ALT SPACE>     toggle status of all files with the same
  1803.                             extension as the file at the cursor.
  1804.  
  1805.             <CTRL SPACE>    toggle status of all files.
  1806.  
  1807.  
  1808.     All of the select commands toggle the current select state rather than
  1809.     specifically setting or resetting the status.  For group selects, the
  1810.     initial status is determined from the file at the cursor.  For example
  1811.     to select or reset all files, enter <CTRL SPACE> once or twice.
  1812.  
  1813.     ToolBOX remembers the order of selection.  For group selections, this is
  1814.     the file at the cursor followed by the other files in the order they
  1815.  
  1816. ToolBOX User Manual                                                  Page 32
  1817. ____________________________________________________________________________
  1818.  
  1819.  
  1820.     appear in the display.
  1821.  
  1822.     The display uses color combinations (or equivalent) to distinguish the
  1823.     selected files and the cursor position.
  1824.  
  1825.     In addition to the above commands, files can be de-selected by changing
  1826.     directories or by executing a command line which references the selected
  1827.     files.
  1828.  
  1829.  
  1830.  
  1831. 8.3 Soft Selection
  1832.  
  1833.     With soft selection, the file at the current cursor position is assumed
  1834.     to be selected if and only if no other files are selected.   This
  1835.     obviously is only applicable to commands that actually reference
  1836.     selected files.
  1837.  
  1838.  
  1839.  
  1840. 8.4 Basic Point-and-Shoot Operations
  1841.  
  1842.     Through the TBOXCFG program, it is possible to associate keyboard keys
  1843.     and selected file match strings with a particular operation.  When the
  1844.     key and file-match occur together, the operation is initiated -
  1845.     typically this is a specific program or batch file.  The default setup
  1846.     supports four standard point-and-shoot functions; all with the <RETURN>
  1847.     key.  These are:
  1848.  
  1849.             KEY     MATCHSTRING    ACTION
  1850.  
  1851.           <RETURN>  Directory *.*  Change directory
  1852.           <RETURN>  *.BAT          Execute batch file
  1853.           <RETURN>  *.COM          Execute .COM program
  1854.           <RETURN>  *.EXE          Execute .EXE program
  1855.           <RETURN>  *.*            VIEW *.*
  1856.  
  1857.     As this sequence is searched in order when <RETURN> is entered, VIEW
  1858.     will automatically be invoked to display any file that does not match
  1859.     one of the prior match-strings.  Also, refer to Section 9.6 for inferred
  1860.     batch file initiation.
  1861.  
  1862.     The TBOXCFG program can easily extend the list.  Then, based on a given
  1863.     match-string, your link program, data base application, editor, word
  1864.     processor, make facility, archive extract utility, spreadsheet, picture
  1865.     viewer, and so on, will automatically be initiated.  Use other keys as
  1866.     well.  For example ( <RETURN> *.asm ) could be used to edit a file and
  1867.     ( <ALT RETURN> *.asm ) to assemble the file.
  1868.  
  1869.  
  1870. 8.5 Command Sequencing
  1871.  
  1872.     The point-and-shoot function described above is a practical example of
  1873.     ToolBOX's generalized command system.  When an initial keystroke is
  1874.     entered, ToolBOX searches its list of possible commands.  Each command
  1875.  
  1876. ToolBOX User Manual                                                  Page 33
  1877. ____________________________________________________________________________
  1878.  
  1879.  
  1880.     in the list has a particular keystroke requirement and optionally a file
  1881.     match specification for a selected file.  The action taken by ToolBOX is
  1882.     based on the first definition matching the keystroke and the optional
  1883.     file selection.
  1884.  
  1885.     If the command set (or keyboard command) being executed did not contain
  1886.     a file match reference to a selected file, then the command executes
  1887.     once and only once.  Otherwise, the command selection and execution
  1888.     process will be performed once for each selected file.
  1889.  
  1890.     Within ToolBOX, virtually everything, except the cursor commands, is
  1891.     implemented through this command control facility.  The <F1> help
  1892.     screens list these commands in the natural search order and, for each,
  1893.     shows the keystroke and the optional file match requirements.
  1894.  
  1895.     If the sequence of operations being performed on the selected files
  1896.     should be aborted for any reason, enter <CTRL c> or <CTRL BREAK>.  The
  1897.     effectiveness of this attempted abort will depend on the timing of the
  1898.     entered characters and whether the program(s) being stopped also reads
  1899.     the abort characters.
  1900.  
  1901.  
  1902.     8.6 Display Output
  1903.  
  1904.     For intrinsic ToolBOX commands, or others that ToolBOX knows about and
  1905.     is aware won't affect the current display, ToolBOX performs the
  1906.     operation transparently without any visible effect on the directory
  1907.     display.
  1908.  
  1909.     For the other commands, ToolBOX first restores the DOS screen as it
  1910.     existed following the most recent ToolBOX initiated command line.  A
  1911.     pseudo command line preceded by two diamonds is generated on the DOS
  1912.     screen, followed by the normal command output.  On completion of the
  1913.     command, ToolBOX restores its directory display.  In many cases this
  1914.     will occur so rapidly it will be difficult to see what happened.  There
  1915.     are several mechanisms for retaining these results:
  1916.  
  1917.           o enter the -xP command line argument, /p, or <ALT F2> to set the
  1918.             PAUSE state.  Following commands with PAUSE set to ON, ToolBOX
  1919.             will wait until you are ready before erasing the DOS screen.
  1920.  
  1921.           o entering <F10> at any time will toggle between the ToolBOX
  1922.             directory display and the most recent DOS screen.
  1923.  
  1924.           o for those with EGA or VGA, entering <F9> will split the visible
  1925.             window so ToolBOX's directory display and the DOS screen can
  1926.             coexist simultaneously.
  1927.  
  1928.     The control of the window screens is explained in detail in Section 9.1.
  1929.  
  1930.  
  1931. ToolBOX User Manual                                                  Page 34
  1932. ____________________________________________________________________________
  1933.  
  1934.  
  1935. 9.0 ADDITIONAL COMMANDS
  1936.  
  1937. 9.1 Window Control
  1938.  
  1939.     The default ToolBOX display is in SELECT mode and contains 25 rows by 80
  1940.     columns.
  1941.  
  1942.  
  1943.       ADJUST NUMBER OF DISPLAY LINES
  1944.  
  1945.           <ALT 2>   Switch to 25 line mode
  1946.           <ALT 4>   Switch to 43 line mode
  1947.           <ALT 5>   Switch to 50 line mode
  1948.           <ALT 0>   Switch to current number of DOS lines
  1949.  
  1950.                     To work correctly, these require that you have the
  1951.                     proper video adapter.  EGA or VGA are required for 43
  1952.                     line mode.  VGA is required for 50 line mode.
  1953.  
  1954.       CHANGE WINDOW DISPLAY MODE
  1955.  
  1956.           <F10>     Switch between the ToolBOX and DOS window.  Use this
  1957.                     function after a DOS command has completed and you wish
  1958.                     to see the last complete DOS screen.  The DOS window is
  1959.                     for presentation purposes only.  You will be prompted to
  1960.                     enter any key to return to the ToolBOX window.
  1961.  
  1962.           <ALT F10> Toggle between SELECT and DIRECTORY modes.  While the
  1963.                     modes are similar, DIRECTORY mode simplifies the
  1964.                     operational use when using ToolBOX as a file directory
  1965.                     display program.  Visually, identify SELECT mode by the
  1966.                     bright border around the directory display.
  1967.  
  1968.           <F9>      Toggle DOS/ToolBOX split screen.  In this mode the top
  1969.                     25 screen lines are used by DOS with the ToolBOX file
  1970.                     window displayed in the balance of the lines at the
  1971.                     bottom.  As the ToolBOX and DOS screens are visible at
  1972.                     the same time, it not necessary to switch back and forth
  1973.                     during execution of DOS commands.
  1974.  
  1975.                     This requires at least EGA for the 43 line mode; it is
  1976.                     not available for MDA or CGA video cards.  If the system
  1977.                     is in 25 line mode, it will automatically switch to 43
  1978.                     or 50 line mode before performing the split.
  1979.  
  1980.                     In split screen mode it may not be obvious when the DOS
  1981.                     command has been completed and ToolBOX is again in
  1982.                     control.  Refer to the clock in the ToolBOX directory
  1983.                     header. While the invoked program is in control the
  1984.                     seconds field contains "--" rather than the incrementing
  1985.                     time.
  1986.  
  1987.     All of the above can be entered directly during the entry of keyboard
  1988.     command lines.
  1989.  
  1990.  
  1991. ToolBOX User Manual                                                  Page 35
  1992. ____________________________________________________________________________
  1993.  
  1994.  
  1995.  
  1996.  
  1997. 9.2 Directory Control
  1998.  
  1999.     In addition to the commands already mentioned for changing directories,
  2000.     the following keystroke sequences are also available:
  2001.  
  2002.  
  2003.       DIRECTORY DISPLAY ADJUSTMENTS
  2004.  
  2005.           <F8>      Refresh directory display.  Re-read the directory data
  2006.                     and update the display.  This may be necessary if the
  2007.                     screen is corrupted or if adjustments have been made to
  2008.                     the current directory files that ToolBOX is not yet
  2009.                     aware of (for example if diskettes are exchanged or on a
  2010.                     multiple user network).
  2011.  
  2012.           <ALT F8>  Move to display directory.  Ensures the current dir-
  2013.                     ectory corresponds to the display directory by changing
  2014.                     the current directory if required.
  2015.  
  2016.           <CTRL F8> Display current directory.  Ensures the directory
  2017.                     display corresponds to the current working directory by
  2018.                     changing the display directory if required.
  2019.  
  2020.  
  2021.       DIRECTORY STACK
  2022.  
  2023.           <keypad ->
  2024.                     Cycle backward through directories in the stack.
  2025.           <keypad +>
  2026.                     Cycle forward through directories in the stack.
  2027.  
  2028.                     ToolBOX maintains a stack of the most recently entered
  2029.                     directories, along with the last known cursor position
  2030.                     in each.  Entering <keypad +> or <keypad -> is
  2031.                     effectively equivalent to issuing a change directory
  2032.                     command to the next directory on the stack.
  2033.  
  2034.                     While data dependent, the stack typically can maintain
  2035.                     the last 20 unique directories entered.
  2036.  
  2037.  
  2038.       DISK DRIVE SHIFTS
  2039.  
  2040.           <CTRL PgDn> Change to the next lower installed drive.
  2041.           <CTRL PgUp> Change to the next higher installed drive.
  2042.  
  2043.                     These commands will sequence the current drive through
  2044.                     all valid drives, from a: to b: to c: etc.  This will
  2045.                     cycle around at the end of the sequence.
  2046.  
  2047.  
  2048.  
  2049.  
  2050. ToolBOX User Manual                                                  Page 36
  2051. ____________________________________________________________________________
  2052.  
  2053.  
  2054. 9.3 Window Contents
  2055.  
  2056.     These commands allow manipulation of the ToolBOX directory display
  2057.     window.
  2058.  
  2059.  
  2060.       FILE DISPLAY
  2061.  
  2062.  
  2063.           <ALT F9>  Select next sort criteria.
  2064.           <CTRL F9> Select next file display format.
  2065.  
  2066.                     These keys provide single key control of the file
  2067.                     display characteristics.  Each cycles to the next of the
  2068.                     eight possible settings.  This is similar to the <F2>
  2069.                     popup window or the command line "dir" command.
  2070.  
  2071.                     These are accessible during the entry of keyboard
  2072.                     commands.
  2073.  
  2074.  
  2075.       CONTROL FEATURES
  2076.  
  2077.           <ALT F2>  Toggle pause status.  The default state is OFF.  If ON,
  2078.                     ToolBOX will stay on the DOS screen after executing the
  2079.                     DOS command(s).  Entering any key will restore the
  2080.                     ToolBOX window.
  2081.  
  2082.                     The paused screen is identical to the DOS window
  2083.                     displayed with the <F10> command.  Concluding batch
  2084.                     files with the DOS PAUSE command achieves a similar
  2085.                     effect.  Pause mode is not required in split screen
  2086.                     mode.
  2087.  
  2088.                     Also try the <F2><p> popup menu command described in
  2089.                     Section 5.5.
  2090.  
  2091.  
  2092.  
  2093.           <CTRL F2> Toggle direction flag.  Normally <TAB>, <SHIFT SPACE>,
  2094.                     <ALT F9>, and <CTRL F9> move forward.  Toggling the
  2095.                     direction flag will cause them to go in the opposite
  2096.                     direction.
  2097.  
  2098.                     Also try the <F2><d> popup menu command described in
  2099.                     Section 5.5.
  2100.  
  2101.  
  2102. ToolBOX User Manual                                                  Page 37
  2103. ____________________________________________________________________________
  2104.  
  2105.  
  2106. 9.4 DOS Commands
  2107.  
  2108.         SINGLE KEYSTROKES FOR DOS FUNCTIONS
  2109.  
  2110.           <ALT d>   Delete selected file(s).  A prompt appears for
  2111.                     confirmation before deleting the selected files.
  2112.  
  2113.                     The one notable difference between the ToolBOX and DOS
  2114.                     implementations is that ToolBOX will not delete subdir-
  2115.                     ectories (i.e. the files in the next directory level).
  2116.                     This is intentional to prevent the accidental erasure of
  2117.                     directories, which is  easily done in a point-and-shoot
  2118.                     environment.  To delete subdirectories, either:
  2119.  
  2120.                          o move into the subdirectory itself.
  2121.  
  2122.                          o insert at least one capital in the "del" command
  2123.                            so the regular DOS version is used.
  2124.  
  2125.                          o use the ToolBOX killdir command described in
  2126.                            Section 9.7.
  2127.  
  2128.                     ToolBOX will beep if it cannot delete one of the
  2129.                     selected files.  Selected directories are ignored, i.e.
  2130.                     if deleting everything it's not necessary to
  2131.                     specifically de-select the directories.
  2132.  
  2133.                     The delete command is also available as an intrinsic,
  2134.                     entered as a keyboard command line:
  2135.  
  2136.                          del [d:][path]matchlist
  2137.  
  2138.                     This has the same particulars as explained above for
  2139.                     <ALT d>.  Refer to Section 10.4.
  2140.  
  2141.  
  2142.           <ALT p>   Print selected file(s).  This uses the DOS copy command
  2143.                     to copy selected files to the printer (PRN:).
  2144.  
  2145.  
  2146.           <ALT s>   Shell to DOS.  This will invoke a second version of the
  2147.                     DOS COMMAND.COM shell.  Enter DOS commands as required,
  2148.                     and then enter the EXIT command to return to ToolBOX.
  2149.                     Unlike exiting to DOS via <ESC>, this does not terminate
  2150.                     ToolBOX.  Shelling to DOS allows ToolBOX to retain its
  2151.                     initialization data, command line stack, directory
  2152.                     stack, and so on.
  2153.  
  2154.                     The current DOS prompt string is prefixed with "TBOX"
  2155.                     to serve as a reminder that you must eventually return
  2156.                     to ToolBOX.  Again, enter "EXIT" to cancel the DOS shell
  2157.                     and return to ToolBOX.
  2158.  
  2159.  
  2160.  
  2161.  
  2162. ToolBOX User Manual                                                  Page 38
  2163. ____________________________________________________________________________
  2164.  
  2165.  
  2166.       DOS COMMAND LINE TEMPLATES
  2167.  
  2168.           The following are not conventional commands.  Rather, each places
  2169.           a text string into the keyboard command line buffer.  This text
  2170.           can be edited as if it were entered through the keyboard.  This
  2171.           facility simply provides a quick way of generating standard
  2172.           command lines.  Edit the fields in the template as required to
  2173.           produce the desired command line.  Some templates produce fields
  2174.           highlighted in reverse video.  Enter <RETURN> to accept the
  2175.           highlighted text as is; entering any printable text causes the
  2176.           highlighted text to be deleted and replaced by the newly entered
  2177.           characters.
  2178.  
  2179.           The f parameter field in the following commands will be replaced
  2180.           by the selected file name when the command is actually processed.
  2181.  
  2182.  
  2183.           <ALT c>   Template for using the DOS COPY command to copy selected
  2184.                     files.  To use this template without further editing,
  2185.                     move to the target directory and then display the source
  2186.                     directory before you select the applicable files.
  2187.  
  2188.                          COPY f
  2189.  
  2190.  
  2191.           <ALT f>   Template for DOS FORMAT command.
  2192.  
  2193.                          FORMAT A:
  2194.  
  2195.  
  2196.           <ALT r>   Template for using the DOS RENAME command to rename
  2197.                     selected files.
  2198.  
  2199.                          RENAME f
  2200.  
  2201.  
  2202. 9.5 Quick Commands
  2203.  
  2204.     ToolBOX maintains a list of single line commands that can be executed at
  2205.     any time.  Use this facility for predefined directory change commands or
  2206.     commands that are used repeatedly.  This is the only mechanism available
  2207.     to configure commands from within ToolBOX without the TBOXCFG program.
  2208.  
  2209.     Quick commands can be predefined through the configuration file or
  2210.     created dynamically as explained below with <ALT F7> and <SHIFT F7>.
  2211.     Quick command contents, limited to one line, must be consistent with
  2212.     what ToolBOX can support through its keyboard command line.  Each is
  2213.     associated with a single letter designation label.  These are not
  2214.     templates that can be edited before being executed.  They are processed
  2215.     exactly as defined.  The currently defined quick commands can be viewed
  2216.     (or initiated) through the <F2><q> popup window.  There are no factory
  2217.     default quick commands defined.
  2218.  
  2219.     All quick commands are 2 keystroke sequences, the command key ( ' )
  2220.     followed by the label character.  There is no visual screen indication
  2221.  
  2222. ToolBOX User Manual                                                  Page 39
  2223. ____________________________________________________________________________
  2224.  
  2225.  
  2226.     that the second label character is expected.  Label characters may be
  2227.     any of the 94 printable ASCII characters on the keyboard; i.e. case is
  2228.     significant.
  2229.  
  2230.       COMMANDS FOR MANIPULATING QUICK COMMANDS
  2231.  
  2232.           <F7><x>        Execute quick command x.
  2233.                    or
  2234.           <'><x>         Execute quick command x.
  2235.  
  2236.                          These commands are identical.  A single letter
  2237.                          quick command definition label code (denoted as x)
  2238.                          corresponding to an existing quick command
  2239.                          definition is expected following this initial
  2240.                          command key.  ToolBOX will beep if the next char-
  2241.                          acter does not correspond to a defined quick
  2242.                          command label.
  2243.  
  2244.                          Quick lines execute once only; not once for each
  2245.                          selected file.  Variables within the quick line are
  2246.                          assumed to reference the entry at the current
  2247.                          cursor position.
  2248.  
  2249.           <SHIFT F7><x>  Make the current keyboard command line quick
  2250.                          command x.  This places the present keyboard
  2251.                          command line in quick command x.  A single letter
  2252.                          quick command definition label is expected
  2253.                          following the command key.  If the letter you chose
  2254.                          for your label is already assigned to an existing
  2255.                          quick command, it will automatically be redefined
  2256.                          and the old quick command lost.  The keyboard
  2257.                          command line (which must exist) is cleared
  2258.                          following this operation.
  2259.  
  2260.           <ALT F7><x>    Create quick command x, which will change to the
  2261.                          current directory. This quick command line is
  2262.                          equivalent to a <SHIFT F7><x> command if the
  2263.                          keyboard command line contains a change directory
  2264.                          (CD) command to the current directory.  If the
  2265.                          label existed previously, the old contents are
  2266.                          lost.
  2267.  
  2268.           <CTRL F7><x>   Delete quick command x.  Deletes the quick command
  2269.                          defined by the <x> label character.  ToolBOX beeps
  2270.                          if no such quick command is defined.
  2271.  
  2272.  
  2273.  
  2274. 9.6 Inferred Batch File Selection
  2275.  
  2276.     The point-and-shoot operations described in Section 8 executed the
  2277.     currently selected program.  While similar, the inferred batch file
  2278.     operation doesn't directly invoke this file.  Rather, based on the key-
  2279.     stroke entered, and optionally on the extension of the filename pointed
  2280.     at, ToolBOX composes the name of a corresponding batch file.  If it
  2281.  
  2282. ToolBOX User Manual                                                  Page 40
  2283. ____________________________________________________________________________
  2284.  
  2285.  
  2286.     exists, it is invoked, otherwise an alternate procedure is performed.
  2287.     Usually this alternate action is to use the VIEW.EXE utility program to
  2288.     display the selected file.
  2289.  
  2290.     These commands and the corresponding match-strings are:
  2291.  
  2292.              KEY      MATCHSTRING       ACTION
  2293.  
  2294.           <RETURN>       *.xxx     Execute TBX--xxx.BAT if accessible,
  2295.                                    otherwise use VIEW to display *.xxx
  2296.  
  2297.           <CTRL RETURN>  *.xxx     Execute TBXC-xxx.BAT if accessible,
  2298.                                    otherwise use VIEW to display *.xxx
  2299.  
  2300.           <ALT RETURN>   *.xxx     Execute TBXA-xxx.BAT if accessible,
  2301.                                    otherwise use VIEW to display *.xxx
  2302.  
  2303.           <ALT key-x>     ---      Execute TBX-ALTx.BAT if accessible.
  2304.  
  2305.           <CTRL key-x>    ---      Execute TBX-CTLx.BAT if accessible.
  2306.  
  2307.                     xxx  indicates any file extension of up to 3 characters.
  2308.                          These characters are used in the composed file
  2309.                          name.
  2310.  
  2311.                     ---  indicates no file match is required.  The - and --
  2312.                          used in the filenames are actual dashes.
  2313.  
  2314.                   key-x  indicates any keyboard character.  The character
  2315.                          (denoted by x) is used in the composed file name.
  2316.  
  2317.     ToolBOX searches for the composed batch file name in the current
  2318.     directory and then on each directory referenced within the PATH.  If
  2319.     found, the batch file is invoked with variable parameters.
  2320.  
  2321.     For the operations with match-strings, the matched filename is passed as
  2322.     a single filespec and as individual components.  For example:
  2323.  
  2324.           TBX--xxx.BAT f d:p\n.x d p n x
  2325.  
  2326.     For the operations that do not require a match-string, only the
  2327.     minimized pathname is passed.  For example:
  2328.  
  2329.           TBX-ALTx.BAT f
  2330.  
  2331.     As there is no requirement for a match-string, this command will execute
  2332.     only once per keystroke.  It will not be repeated even if multiple files
  2333.     are selected.  The first selected file is passed only as a possible
  2334.     convenience.  The selected file will remain selected even after
  2335.     completion of the command.
  2336.  
  2337.     Keystrokes such as <ALT c> and <ALT d> are not available for inferred
  2338.     batch files since they are already associated with the higher priority
  2339.     COPY and DELETE functions.
  2340.  
  2341.  
  2342. ToolBOX User Manual                                                  Page 41
  2343. ____________________________________________________________________________
  2344.  
  2345.  
  2346. 9.7 Explicit Program Requests
  2347.  
  2348.     Other commands available include:
  2349.  
  2350.             KEY       MATCHSTRING       ACTION
  2351.  
  2352.  
  2353.            <ALT v>       *.*       VIEW selected file(s).  The VIEW program
  2354.                                    is invoked to display the contents of
  2355.                                    each selected file.
  2356.  
  2357.                                    Note that each file is viewed independ-
  2358.                                    ently.  It is not possible within VIEW to
  2359.                                    request the next or previous file.
  2360.  
  2361.            <ALT k>       *.*       Killdir - delete directory and its cont-
  2362.                       (Directory)  ents, including multiple levels.  For
  2363.                                    each selected directory, killdir issues a
  2364.                                    prompt window allowing the user to select
  2365.                                    between 3 options for the directory:
  2366.  
  2367.                                        o delete all files and directories
  2368.                                          for all levels
  2369.  
  2370.                                        o delete all files for all levels
  2371.  
  2372.                                        o delete all files for the first
  2373.                                          level
  2374.  
  2375.                                    This operation is sometimes referred to
  2376.                                    as pruning.
  2377.  
  2378.  
  2379. ToolBOX User Manual                                                  Page 42
  2380. ____________________________________________________________________________
  2381.  
  2382.  
  2383. 10.0 INTRINSIC COMMANDS
  2384.  
  2385. 10.1 Typical Usage
  2386.  
  2387.     All ToolBOX commands described up to this point are implemented through
  2388.     a second level of intrinsic commands.  These intrinsics are understood
  2389.     and processed directly by ToolBOX.  While accessible during normal
  2390.     command line entry, knowledge of them and their operations is not
  2391.     necessary for most ToolBOX activities.
  2392.  
  2393.     Section 10 describes the intrinsics intended for entry through the
  2394.     keyboard command line.  Some of these have been discussed before.
  2395.     Additional intrinsic commands, which are more often found in the command
  2396.     sets bound to particular keystrokes, are described in the TBOXCFG User
  2397.     Manual.
  2398.  
  2399.  
  2400.  
  2401. 10.2 Intrinsic DIR command
  2402.  
  2403.     Section 6.2 explains the features of the dir command:
  2404.  
  2405.        dir [ [d:][path][matchlist] ] [/s[+-!]#] [/f[+-!]#] [/m] [/hH]
  2406.  
  2407.     Further to the specification in Section 6.2, the sort or format select-
  2408.     ion character may also be stated as +, -, or !.  Rather than selecting a
  2409.     specific setting, these respectively infer moving one setting up, down,
  2410.     or in the direction of the DIRECTION flag.
  2411.  
  2412.  
  2413. 10.3 Intrinsic CD command
  2414.  
  2415.     For an explanation of the ToolBOX "cd" command, see Section 6.3.
  2416.  
  2417.           [cd] [d:][path]
  2418.  
  2419.     It emulates the DOS equivalent except as follows:
  2420.  
  2421.           o the path may optionally include the drive specification.
  2422.           o the "cd" command itself is optional.
  2423.  
  2424.     On completion the directory data is read and the display updated,
  2425.     regardless of whether the cd command actually specified a new directory.
  2426.     ToolBOX beeps if the directory is not located.
  2427.  
  2428.  
  2429. 10.4 Intrinsic DEL Command
  2430.  
  2431.     The ToolBOX del command is essentially equivalent to the internal DOS
  2432.     command.  Section 9.4 describes the del command in detail.
  2433.  
  2434.           del [d:][path]matchlist
  2435.  
  2436.     ToolBOX will not delete subdirectories, although they are included in
  2437.     the count for the verification window.  ToolBOX will beep if a file
  2438.  
  2439. ToolBOX User Manual                                                  Page 43
  2440. ____________________________________________________________________________
  2441.  
  2442.  
  2443.     cannot be deleted or if nothing was deleted.
  2444.  
  2445.     Be careful with the file specification; ToolBOX assumes that for all
  2446.     specifications without an extension ".*" can be assumed.
  2447.  
  2448.  
  2449. 10.5 Intrinsic KILLDIR Command
  2450.  
  2451.     The killdir command is used to delete directory trees or branches, hence
  2452.     the occasional use of the term prune.
  2453.  
  2454.           killdir directory
  2455.  
  2456.     The command always prompts to determine how much should be deleted: all
  2457.     files and directories, all files, or just the files in the first
  2458.     directory.  For saftey reasons, KILLDIR won't let you delete the ".."
  2459.     parent directory.
  2460.  
  2461.     Using the intrinsic directly, rather than <ALT k>, it is possible to
  2462.     delete the complete contents of a disk with a single command;
  2463.  
  2464.           e.g.: killdir a:\
  2465.  
  2466.  
  2467. 10.6 Intrinsic SEL Command
  2468.  
  2469.     The sel command performs the file selection operation based on a
  2470.     matchlist.  Each match-string within the matchlist may contain the DOS *
  2471.     and ? wildcard characters.
  2472.  
  2473.           sel [ @ + - ] matchlist
  2474.  
  2475.     The optional character for the first argument is:
  2476.  
  2477.           @    toggle the select state of matched files based on the file
  2478.                at the file cursor.
  2479.  
  2480.           +    always set the matching files.
  2481.  
  2482.           -    always reset the matching files.
  2483.  
  2484.     Without the optional parameter, the matched files are toggled based on
  2485.     the state of the first matching file.  As per the explanation in 6.2,
  2486.     the matchlist can contain any number of file specifications, each
  2487.     optionally with a leading negation "!" character.
  2488.  
  2489.     The searches (which determine the order of selection) are carried out in
  2490.     directory display order from the beginning; i.e. no special consider-
  2491.     ation is given to the file at the cursor location.  All files
  2492.     corresponding to the match-string are altered to the same select state.
  2493.  
  2494. ToolBOX User Manual                                                  Page 44
  2495. ____________________________________________________________________________
  2496.  
  2497.  
  2498. APPENDIX A : ToolBOX COMMAND LINE ARGUMENT SUMMARY
  2499.  
  2500.  
  2501.  
  2502.  
  2503.      TBOX [d:][path]matchlist @cfgfile -F# -S#
  2504.           -V [b m s c e v] [25 43 50] -C[m c g]
  2505.           -X [Hh] [Dd] [Cc] [Xx] [Rr] [Pp] [Tt] [a#] [Mm]
  2506.           -M [Aa] [Pp] [Dd] [Cc]
  2507.  
  2508.  
  2509.  
  2510.   where :
  2511.  
  2512.  
  2513.  
  2514.           [d:][path]matchlist   for directory/files to be displayed
  2515.  
  2516.           -@cfgfile             configuration data file
  2517.  
  2518.           -display Format # (1 to 8, or letter)
  2519.  
  2520.           -Sort format # (1 to 8, or letter)
  2521.  
  2522.           -Video[bIOS|mONOCHROME|sNOW|cGA|eGA|vGA] [25LINES|43LINES|50LINES]
  2523.  
  2524.           -Color[mONOCHROME|cOLOR|gRAYSCALE]
  2525.  
  2526.           -eXecute
  2527.                hH   include Hidden and system files
  2528.                dD   do directory and exit
  2529.                cC   do directory and conditionally exit
  2530.                xX   go directly to select phase
  2531.                rR   restore DOS screen on exit
  2532.                pP   set pause state following DOS commands
  2533.                tT   tell DOS about available lines
  2534.                a#   permitted audio tones for different errors:
  2535.                     1 (border) + 2 (syntax) + 4 (execution)
  2536.                mM   make Match-list permanent
  2537.  
  2538.           -Memory
  2539.                Aa   always swap
  2540.                Pp   swap to EMS expanded memory
  2541.                Dd   swap to Disk
  2542.                Cc   for disk swaps, use current directory
  2543.  
  2544.  
  2545.  
  2546.  
  2547.  
  2548. ToolBOX User Manual                                                  Page 45
  2549. ____________________________________________________________________________
  2550.  
  2551.  
  2552.                NOTE :
  2553.  
  2554.                     o all fields are optional
  2555.  
  2556.                     o matchlist :
  2557.  
  2558.                          [!]file-match-string  . . .
  2559.  
  2560.                     o default
  2561.                          -v25 -XhdcXrTa7m -MaPDc *.* -F1 -S1
  2562.  
  2563.  
  2564. ToolBOX User Manual                                                  Page 46
  2565. ____________________________________________________________________________
  2566.  
  2567.  
  2568. APPENDIX B : DIRECTORY DISPLAY PARAMETERS
  2569.  
  2570.  
  2571.     DIRECTORY DISPLAY FORMATS (Factory Defaults)
  2572.     ────────────────────────────────────────────
  2573.  
  2574.  
  2575.           #    OPTION NAME         COLS EXAMPLE DISPLAY FORMAT
  2576.           ─    ──────────────────  ──── ────────────────────────────────────
  2577.           1    Master               2   hSAMPLE  .COM    1,234 14Jly92 13:00
  2578.           2    filename-Size        3    SAMPLE  .COM    1,234
  2579.           3    filename-Date        3   hSAMPLE  .COM Jly92 13:00
  2580.           4    Filename             5    SAMPLE  .COM
  2581.           5    Name                 7    SAMPLE
  2582.           6    mAster (B)           2      1,234 hSAMPLE  .COM 14Jly92 13:00
  2583.           7    siZe-filename        2      1,234  SAMPLE  .COM
  2584.           8    filename-sizE (B)    3    hSAMPLE  .COM   1,234
  2585.  
  2586.  
  2587.  
  2588.                NOTE:
  2589.                       - examples are for the hidden file SAMPLE.COM,
  2590.                         containing 1,234 bytes, and whose last modification
  2591.                         date was 1PM July 14, 1992.
  2592.  
  2593.                       - formats 1, 3, 6, and 8 prefix the filename with a
  2594.                         special designator character under the following
  2595.                         conditions:
  2596.  
  2597.                               CHAR      DESCRIPTION
  2598.  
  2599.                                 s       system file
  2600.                                 h       hidden file
  2601.                                 r       read only file
  2602.                                 \       directory
  2603.  
  2604.                         If more that one is applicable, only the first is
  2605.                         displayed.
  2606.  
  2607.                       - formats 4, 5, and 7 prefix the filename with a \
  2608.                         character to denote a directory
  2609.  
  2610.  
  2611.  
  2612.  
  2613. ToolBOX User Manual                                                  Page 47
  2614. ____________________________________________________________________________
  2615.  
  2616.  
  2617.      SORT CRITERIA
  2618.      ─────────────
  2619.  
  2620.           #    OPTION NAME              SORT CRITERIA (first, second)
  2621.           ─    ──────────────────       ──────────────────────────────
  2622.           1    eXtension-name           extension, filename
  2623.           2    Date-name                date, filename
  2624.           3    Size-name                size, filename
  2625.           4    dOs order                none -natural directory order
  2626.           5    Name-extension           filename, extension
  2627.           6    extension-daTe           extension, date
  2628.           7    extension-siZe           extension, size
  2629.           8    Reverse-date-name        inverted : date, filename
  2630.  
  2631.  
  2632.  
  2633.                NOTE : - the second sort field resolves ties remaining from
  2634.                         the first sort.
  2635.  
  2636.  
  2637. ToolBOX User Manual                                                  Page 48
  2638. ____________________________________________________________________________
  2639.  
  2640.  
  2641. APPENDIX C : COMMAND SUMMARY
  2642.  
  2643.  
  2644.  
  2645.        GENERAL INFORMATION:
  2646.  
  2647.           o the COMMAND KEYS section is completely reassignable through the
  2648.             TBOXCFG configuration program.
  2649.  
  2650.           o as a general convention <CTRL letter> keys are reserved for user
  2651.             customizations.  ToolBOX uses the function keys and <ALT letter>
  2652.             keys for its own operations.
  2653.  
  2654.           o the <F2> and <F7> keys are duplicated on the ' and / keys
  2655.             respectively for convenience.
  2656.  
  2657.           o refer to Section 4 and 10 for a description of variables and
  2658.             intrinsics.
  2659.  
  2660.  
  2661.  
  2662.     BASIC COMMAND KEYS
  2663.     ══════════════════
  2664.  
  2665.           CURSOR CONTROL
  2666.  
  2667.                <LEFT> <RIGHT> <UP> <DOWN> <PG UP> <PG DN> <Tab>
  2668.                <HOME> <HOME><HOME> <END> <END><END>
  2669.  
  2670.           Select file at cursor:
  2671.  
  2672.                <Space>
  2673.  
  2674.           Select region:
  2675.  
  2676.                <SHIFT LEFT> <SHIFT RIGHT> <SHIFT UP> <SHIFT DOWN>
  2677.  
  2678.           Cancel current operation:
  2679.  
  2680.                <ESC>
  2681.  
  2682.  
  2683.  
  2684.  
  2685. ToolBOX User Manual                                                  Page 49
  2686. ____________________________________________________________________________
  2687.  
  2688.  
  2689.     CONFIGURABLE COMMAND KEYS USED IN DIRECTORY/SELECT MODE
  2690.     ───────────────────────────────────────────────────────
  2691.  
  2692.                          MATCH
  2693.           KEYSTROKE      STRING    DESCRIPTION
  2694.           ═════════      ══════    ════════════════════════════════════════
  2695.  
  2696.           <any ASCII>    ---       Start keyboard command.
  2697.  
  2698.           <INSERT>       ---       Recall last keyboard command line.
  2699.  
  2700.           <ALT SPACE>    *.*       Toggle status of all files with the same
  2701.                                    extension as the file at the cursor.
  2702.  
  2703.           <CTRL SPACE>   *.*       Toggle selection status of all files.
  2704.  
  2705.           <keypad ─>     ---       Change directory to the next oldest stack
  2706.                                    entry.
  2707.  
  2708.           <keypad +>     ---       Change directory to the next most recent
  2709.                                    stack entry.
  2710.  
  2711.           <F1>           ---       Help (Single line descriptions).
  2712.  
  2713.           <ALT F1>       ---       Help (Incorporates command set
  2714.                                    information).
  2715.  
  2716.           <F2> or /      ---       Initiate pop up window for
  2717.                                    sort/display/quick commands/direction and
  2718.                                    pause.
  2719.  
  2720.           <CTRL PGDN>    ---       Change to next lower installed drive.
  2721.  
  2722.           <CTRL PGUP>    ---       Change to next higher installed drive.
  2723.  
  2724.           <ALT F2>       ---       Toggle PAUSE status.
  2725.  
  2726.           <CTRL F2>      ---       Toggle direction flag.
  2727.  
  2728.           <F7><x> or '<x>---       Execute quick command command x.
  2729.  
  2730.           <ALT F7><x>    ---       Assign the current directory to quick
  2731.                                    command x.
  2732.  
  2733.           <CTRL F7><x>   ---       Delete quick command x.
  2734.  
  2735.           <SHIFT F7><x>  ---       Make keyboard command quick command x.
  2736.  
  2737.  
  2738. ToolBOX User Manual                                                  Page 50
  2739. ____________________________________________________________________________
  2740.  
  2741.  
  2742.                          MATCH
  2743.           KEYSTROKE      STRING    DESCRIPTION
  2744.           ═════════      ══════    ════════════════════════════════════════
  2745.  
  2746.           <F8>           ---       Refresh directory display.
  2747.  
  2748.           <ALT F8>       ---       Move to display directory.
  2749.  
  2750.           <CTRL F8>      ---       Display current directory.
  2751.  
  2752.           <F9>           ---       Toggle DOS/ToolBOX screen split.
  2753.  
  2754.           <ALT F9>       ---       Select next sort criteria.
  2755.  
  2756.           <CTRL F9>      ---       Select next file display format.
  2757.  
  2758.           <F10>          ---       Toggle between ToolBOX and DOS window.
  2759.  
  2760.           <ALT F10>      ---       Toggle between DIRECTORY/SELECT modes.
  2761.  
  2762.           <ALT 2>        ---       Switch to 25 line mode.
  2763.  
  2764.           <ALT 4>        ---       Switch to 43 line mode.
  2765.  
  2766.           <ALT 5>        ---       Switch to 50 line mode.
  2767.  
  2768.           <ALT 0>        ---       Switch to current number of DOS lines.
  2769.  
  2770.           <ALT c>        *.*       Template for DOS COPY command.
  2771.  
  2772.           <ALT d>        *.*       Delete selected files.
  2773.  
  2774.           <ALT f>        ---       Template for DOS FORMAT command.
  2775.  
  2776.           <ALT k>        *.* (dir) Kill selected directories.
  2777.  
  2778.           <ALT p>        *.*       Print selected file.
  2779.  
  2780.           <ALT r>        *.*       Template for DOS RENAME command.
  2781.  
  2782.           <ALT s>        ---       Escape to DOS.
  2783.  
  2784.           <ALT v>        *.*       Display selected files with the VIEW
  2785.                                    program.
  2786.  
  2787.  
  2788. ToolBOX User Manual                                                  Page 51
  2789. ____________________________________________________________________________
  2790.  
  2791.  
  2792.                          MATCH
  2793.           KEYSTROKE      STRING    DESCRIPTION
  2794.           ═════════      ══════    ════════════════════════════════════════
  2795.  
  2796.  
  2797.           <RETURN>       *.* (dir) Change directory.
  2798.  
  2799.           <RETURN>       *.BAT     Execute batch file.
  2800.  
  2801.           <RETURN>       *.COM     Execute .COM file.
  2802.  
  2803.           <RETURN>       *.EXE     Execute .EXE file.
  2804.  
  2805.           <RETURN>       *.xxx     Execute TBX--xxx.BAT if accessible,
  2806.                                    otherwise use VIEW.
  2807.  
  2808.           <CTRL RETURN>  *.xxx     Execute TBXC-xxx.BAT if accessible,
  2809.                                    otherwise use VIEW.
  2810.  
  2811.           <ALT RETURN>   *.xxx     Execute TBXA-xxx.BAT if accessible,
  2812.                                    otherwise use VIEW.
  2813.  
  2814.           <ALT key-x>    ---       Execute TBX-ALTx.BAT if accessible.
  2815.  
  2816.           <CTRL key-x>   ---       Execute TBXA-CTLx.BAT if accessible.
  2817.  
  2818.           <RETURN>       *.*       Use VIEW to display the unknown file.
  2819.  
  2820.  
  2821.  
  2822.     ALTERNATE KEYS AVAILABLE (See GENERAL.DOC)
  2823.     ──────────────────────────────────────────
  2824.  
  2825.           STANDARD KEY   REPLACEMENT    NOTES
  2826.           ════════════   ════════════   ══════════════════════════════════
  2827.           <SHIFT LEFT>   <CTRL LEFT>
  2828.           <SHIFT RIGHT>  <CTRL RIGHT>
  2829.           <SHIFT UP>     <CTRL HOME>
  2830.           <SHIFT DOWN>   <CTRL END>
  2831.           <ALT SPACE>    <ALT = >       reserved by windows
  2832.           <ALT RETURN>   <ALT - >       reserved by windows
  2833.           <CTRL RETURN>  <ALT _ >
  2834.  
  2835.  
  2836.  
  2837.  
  2838. ToolBOX User Manual                                                  Page 52
  2839. ____________________________________________________________________________
  2840.  
  2841.  
  2842. APPENDIX D : INTRINSIC COMMAND SUMMARY
  2843.  
  2844.  
  2845.     COMMAND LINE VARIABLES
  2846.     ──────────────────────
  2847.  
  2848.  
  2849.           (where x is created by <CTRL x>)
  2850.  
  2851.           [ + - ! ]d    display drive
  2852.           p             display path
  2853.           n             8 character file name
  2854.           x             3 character extension
  2855.           D             current drive letter
  2856.           P             current path
  2857.           f             minimized pathname
  2858.           c             last character from keyboard
  2859.                        single literal  character
  2860.  
  2861.  
  2862.     INTRINSIC COMMANDS
  2863.     ──────────────────
  2864.  
  2865.           Change directory:
  2866.  
  2867.                [cd] [d:][path]
  2868.  
  2869.           Update directory display:
  2870.  
  2871.                dir [d:][path][matchlist]  [/m] [/hH]
  2872.                              [/s[ + - ! ]#] [/f[ + - ! ]#]
  2873.  
  2874.           Delete selected files:
  2875.  
  2876.                del [d:][path]matchlist
  2877.  
  2878.           Delete selected directories and contents:
  2879.  
  2880.                killdir [d:]path
  2881.  
  2882.           Select files:
  2883.  
  2884.                sel [ @ + - ] matchlist
  2885.  
  2886.           Swap out ToolBOX
  2887.  
  2888.                @command-line
  2889.  
  2890.  
  2891. ToolBOX User Manual                                                  Page 53
  2892. ____________________________________________________________________________
  2893.  
  2894.  
  2895.  
  2896.     INTRINSIC COMMANDS (INTERNAL)
  2897.     ─────────────────────────────
  2898.  
  2899.     The following commands are intended for use within configured command
  2900.     sets rather than through the keyboard command line.  They are included
  2901.     here for reference purposes only.  For further information refer to the
  2902.     TBOXCFG User Manual documentation.
  2903.  
  2904.  
  2905.           Switch to the DOS window:
  2906.  
  2907.                tbx d
  2908.  
  2909.           Initiate Help  (1=basic help, 2 = extended/internal command set):
  2910.  
  2911.                tbx h #
  2912.  
  2913.           Toggle current PAUSE status:
  2914.  
  2915.                tbx p
  2916.  
  2917.           Set number of screen lines (25, 43, or 50, otherwise DOS setting):
  2918.  
  2919.                tbx r ##
  2920.  
  2921.           Toggle current DIRECTION status:
  2922.  
  2923.                tbx t
  2924.  
  2925.           Toggle between ToolBOX SELECT and DIRECTORY state:
  2926.  
  2927.                tbx w
  2928.  
  2929.           Change directories to the next entry in the directory stack:
  2930.  
  2931.                tbx N
  2932.  
  2933.           Change directories to the previous entry in the directory stack:
  2934.  
  2935.                tbx P
  2936.  
  2937.           Conditional exit (Use verification window):
  2938.  
  2939.                tbx x
  2940.  
  2941.           UnConditional exit:
  2942.  
  2943.                tbx X
  2944.  
  2945.  
  2946. ToolBOX User Manual                                                  Page 54
  2947. ____________________________________________________________________________
  2948.  
  2949.  
  2950.           Invoke program if locatable, else use default command line:
  2951.  
  2952.                t*x f progname.ext [param1] [param2] . . .
  2953.  
  2954.           Start the keyboard command with newest command stack entry:
  2955.  
  2956.                t*x l
  2957.  
  2958.           Start keyboard command with text provided:
  2959.  
  2960.                t*x p [command-line-text]
  2961.  
  2962.           Equivalent to t*x p except execution cycle is limited to one
  2963.           operation:
  2964.  
  2965.                t*x P [command-line-text]
  2966.  
  2967.           Toggle DOS split screen:
  2968.  
  2969.                t*x s
  2970.  
  2971.           Initiate the popup menu window:
  2972.  
  2973.                t*x w
  2974.  
  2975.           Invoke program if locatable, else sound(error):
  2976.  
  2977.                t*x x progname.ext [param1] [param2] . . .
  2978.  
  2979.           Assign current directory to quick command, get x from keyboard:
  2980.  
  2981.                t*x C
  2982.  
  2983.           Delete quick command, get x from keyboard:
  2984.  
  2985.                t*x D
  2986.  
  2987.           Add the current keyboard command line as quick command, get x from
  2988.           keyboard:
  2989.  
  2990.                t*x K
  2991.  
  2992.           Execute quick command, get x from keyboard:
  2993.  
  2994.                t*x X
  2995.  
  2996.  
  2997.  
  2998.